Skip to content

Commit

Permalink
Bumped version to 1.8.7
Browse files Browse the repository at this point in the history
  • Loading branch information
QuintGao committed Aug 15, 2023
1 parent 58cbe90 commit 2ae4cf5
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion GKNavigationBar.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'GKNavigationBar'
s.version = '1.8.6'
s.version = '1.8.7'
s.license = 'MIT'
s.summary = '自定义导航栏--导航栏联动'
s.homepage = 'https://github.com/QuintGao/GKNavigationBar'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,7 @@ - (BOOL)gestureRecognizerShouldBegin:(UIPanGestureRecognizer *)gestureRecognizer
}
}else if (transition.x > 0) { // 右滑
if (!visibleVC.gk_systemGestureHandleDisabled) {
[gestureRecognizer addTarget:self.systemTarget action:self.systemAction];
BOOL shouldPop = [visibleVC navigationShouldPop];
if ([visibleVC respondsToSelector:@selector(navigationShouldPopOnGesture)]) {
shouldPop = [visibleVC navigationShouldPopOnGesture];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,14 @@ NS_ASSUME_NONNULL_BEGIN
+ (instancetype)rootVC:(UIViewController *)rootVC transitionScale:(BOOL)transitionScale;

/// 导航栏转场时是否缩放,此属性只能在初始化导航栏时有效
@property (nonatomic, assign, readonly) BOOL gk_transitionScale;
@property (nonatomic, assign, readonly) IBInspectable BOOL gk_transitionScale;

/// 是否开启左滑push操作,默认是NO,此时不可禁用控制器的滑动返回手势
@property (nonatomic, assign) BOOL gk_openScrollLeftPush;
@property (nonatomic, assign) IBInspectable BOOL gk_openScrollLeftPush;

/// 是否开启GKNavigationBar的手势处理,默认为NO
/// 只能通过上面的两个初始化方法开启
@property (nonatomic, assign, readonly) BOOL gk_openGestureHandle;
@property (nonatomic, assign, readonly) IBInspectable BOOL gk_openGestureHandle;

@end

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ NS_ASSUME_NONNULL_BEGIN
@interface UINavigationController (GKNavigationBar)

/// 开启系统导航与GKNavigationBar过渡处理,需要在显示系统导航栏的控制器中调用显示导航栏方法
@property (nonatomic, assign) BOOL gk_openSystemNavHandle;
@property (nonatomic, assign) IBInspectable BOOL gk_openSystemNavHandle;

/// 该导航栏是由内部隐藏的
@property (nonatomic, assign) BOOL gk_hideNavigationBar;
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,7 @@ github "QuintGao/GKNavigationBar"
<summary><font size=4>最近更新</font></summary>

```
* 1.8.7 - 2023.08.15 导航栏部分属性支持StoryBoard,手势处理优化
* 1.8.6 - 2023.07.17 修复导航栏间距调整可能无效的问题
* 1.8.5 - 2023.06.28 导航栏宽度适配Mac
* 1.8.4 - 2023.03.29 修复导航栏间距调整bug
Expand Down

0 comments on commit 2ae4cf5

Please sign in to comment.