Skip to content

Commit

Permalink
解决来电话导航栏偏移问题
Browse files Browse the repository at this point in the history
  • Loading branch information
chenliangloveyou committed Jan 11, 2018
1 parent 7b93448 commit daf7cf5
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions EasyNavigation.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ Pod::Spec.new do |s|


s.name = "EasyNavigation"
s.version = "1.0.3"
s.version = "1.0.4"
s.summary = "一款超级简单的导航条管理工具,没有UINavigationBar和UINavigationItem这两个类。完全是对UIView的操作。 所有操作都能一行代码,操作之间完全独立,互不影响。"
s.description = "一款超级简单的导航条管理工具。完全自定义导航条。没有UINavigationBar和UINavigationItem这两个类。完全是对UIView的操作。 所有操作都能一行代码,操作之间完全独立,互不影响。集成简单,使用简单。"
s.homepage = "https://github.com/chenliangloveyou/EasyNavigation"
s.license = "MIT"
s.author = { "chenliangloveyou" => "[email protected]" }
s.source = { :git => "https://github.com/chenliangloveyou/EasyNavigation.git", :commit => "d8faf2106c34aa5fe3daba0a76549dc05486196c" }
s.source = { :git => "https://github.com/chenliangloveyou/EasyNavigation.git", :commit => "7b9344824994477d3ffae056aa20dbeba801a9ca" }
s.source_files = "EasyNavigation/*.{h,m}"
s.resource = 'EasyNavigation/EasyNavButton.bundle'
# s.public_header_files = "Classes/**/*.h"
Expand Down
2 changes: 1 addition & 1 deletion EasyNavigation/UIViewController+EasyNavigationExt.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
/**
* 当前的导航控制器
*/
@property (nonatomic, weak) EasyNavigationController *vcEasyNavController ;
//@property (nonatomic, weak) EasyNavigationController *vcEasyNavController ;

/**
* 当前的导航条
Expand Down
18 changes: 9 additions & 9 deletions EasyNavigation/UIViewController+EasyNavigationExt.m
Original file line number Diff line number Diff line change
Expand Up @@ -52,15 +52,15 @@ - (void)setCustomBackGestureEdge:(CGFloat)customBackGestureEdge
}


- (EasyNavigationController *)vcEasyNavController
{
EasyNavigationController *vcNav= objc_getAssociatedObject(self, _cmd);
if (nil == vcNav) {
vcNav = (EasyNavigationController *)self.navigationController ;
objc_setAssociatedObject(self, @selector(vcEasyNavController), vcNav, OBJC_ASSOCIATION_ASSIGN);
}
return vcNav ;
}
//- (EasyNavigationController *)vcEasyNavController
//{
// EasyNavigationController *vcNav= objc_getAssociatedObject(self, _cmd);
// if (nil == vcNav) {
// vcNav = (EasyNavigationController *)self.navigationController ;
// objc_setAssociatedObject(self, @selector(vcEasyNavController), vcNav, OBJC_ASSOCIATION_ASSIGN);
// }
// return vcNav ;
//}

- (EasyNavigationView *)navigationView
{
Expand Down
Binary file not shown.

0 comments on commit daf7cf5

Please sign in to comment.