File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -277,7 +277,7 @@ - (void)setNavBarBackIndicatorImage:(UIImage *)navBarBackIndicatorImage {
277
277
UINavigationBar *navigationBar = [QMUIHelper visibleViewController ].navigationController .navigationBar ;
278
278
279
279
// 返回按钮的图片frame是和系统默认的返回图片的大小一致的(13, 21),所以用自定义返回箭头时要保证图片大小与系统的箭头大小一样,否则无法对齐
280
- CGSize systemBackIndicatorImageSize = CGSizeMake (13 , 21 ); // 在iOS9上实际测量得到
280
+ CGSize systemBackIndicatorImageSize = CGSizeMake (13 , 21 ); // 在iOS 8-11 上实际测量得到
281
281
CGSize customBackIndicatorImageSize = _navBarBackIndicatorImage.size ;
282
282
if (!CGSizeEqualToSize (customBackIndicatorImageSize, systemBackIndicatorImageSize)) {
283
283
CGFloat imageExtensionVerticalFloat = CGFloatGetCenter (systemBackIndicatorImageSize.height , customBackIndicatorImageSize.height );
Original file line number Diff line number Diff line change @@ -285,11 +285,11 @@ - (void)renderStyleInNavigationController:(UINavigationController *)navigationCo
285
285
if (navigationBarHiddenOption == QMUINavigationBarHiddenStateShowWithoutAnimated || navigationBarHiddenOption == QMUINavigationBarHiddenStateHideWithoutAnimated) {
286
286
animated = NO ;
287
287
}
288
- if (hidden && !vc. navigationController .navigationBarHidden ) {
289
- [vc.navigationController setNavigationBarHidden: YES animated: animated];
288
+ if (hidden && !self .navigationBarHidden ) {
289
+ [self setNavigationBarHidden: YES animated: animated];
290
290
}
291
- if (!hidden && vc. navigationController .navigationBarHidden ) {
292
- [vc.navigationController setNavigationBarHidden: NO animated: animated];
291
+ if (!hidden && self .navigationBarHidden ) {
292
+ [self setNavigationBarHidden: NO animated: animated];
293
293
}
294
294
}
295
295
You can’t perform that action at this time.
0 commit comments