Skip to content

Commit

Permalink
修改注释
Browse files Browse the repository at this point in the history
  • Loading branch information
MoLice committed Aug 16, 2017
1 parent 3dd8d9e commit 7dc52be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion QMUIKit/UIComponents/QMUINavigationTitleView.m
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ - (void)titleView_navigationBarLayoutSubviews {
// NSLog(@"【%@】修正布局后\ntitleView = %@", NSStringFromClass(titleView.class), titleView);
}

// iOS 11 之后 titleView 的布局发生了一些变化,如果不主动设置宽度,titleView 里的内容就可能无法完整展示
// iOS 11 之后(iOS 11 Beta 5 测试过) titleView 的布局发生了一些变化,如果不主动设置宽度,titleView 里的内容就可能无法完整展示
if (IOS_VERSION >= 11.0) {
if (CGRectGetWidth(titleView.bounds) != titleViewSize.width) {
titleView.frame = CGRectSetWidth(titleView.frame, titleViewSize.width);
Expand Down

0 comments on commit 7dc52be

Please sign in to comment.