Skip to content

Commit f0e9967

Browse files
committed
更新 bug
1 parent 05d98d7 commit f0e9967

7 files changed

Lines changed: 14 additions & 7 deletions

File tree

PLMMPRJK/PLMMPRJK/Classes/LMJBase/BaseView/LMJNavigationBar.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ - (void)layoutSubviews
5656

5757
self.rightView.frame = CGRectMake(self.lmj_width - self.rightView.lmj_width, kStatusBarHeight, self.rightView.lmj_width, self.rightView.lmj_height);
5858

59-
self.titleView.frame = CGRectMake(0, kStatusBarHeight, MIN(self.lmj_width - MAX(self.leftView.lmj_width, self.rightView.lmj_width) * 2 - kViewMargin * 2, self.titleView.lmj_width), self.titleView.lmj_height);
59+
self.titleView.frame = CGRectMake(0, kStatusBarHeight + (44.0 - self.titleView.lmj_height) * 0.5, MIN(self.lmj_width - MAX(self.leftView.lmj_width, self.rightView.lmj_width) * 2 - kViewMargin * 2, self.titleView.lmj_width), self.titleView.lmj_height);
6060

6161
self.titleView.lmj_x = (self.lmj_width * 0.5 - self.titleView.lmj_width * 0.5);
6262

PLMMPRJK/PLMMPRJK/Classes/LMJBase/LMJWebViewController.m

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -291,6 +291,10 @@ - (WKWebView *)webView
291291
if ([self respondsToSelector:@selector(lmjNavigationHeight:)]) {
292292

293293
webView.scrollView.contentInset = UIEdgeInsetsMake([self lmjNavigationHeight:nil], 0, 0, 0);
294+
// AppDelegate 进行全局设置
295+
if (@available(iOS 11.0, *)){
296+
webView.scrollView.contentInsetAdjustmentBehavior = UIScrollViewContentInsetAdjustmentNever;
297+
}
294298
}
295299

296300
webView.scrollView.scrollIndicatorInsets = webView.scrollView.contentInset;

PLMMPRJK/PLMMPRJK/Classes/Preview3/Controller/CoreAnimationControllers/LMJCAKeyFrameAnimationViewController.m

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ - (void)loadView
1919
{
2020
self.view = [[DrawView alloc] init];
2121

22-
self.title = @"手指移动画线";
22+
// self.title = @"手指移动画线";
23+
[MBProgressHUD showAutoMessage:@"手指移动画线"];
2324
}
2425

2526
- (void)viewDidLoad {

PLMMPRJK/PLMMPRJK/Classes/Preview3/Controller/CoreAnimationControllers/LMJLZDHDTSViewController.m

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ - (void)viewDidLoad {
1818
[super viewDidLoad];
1919

2020
self.fd_interactivePopDisabled = YES;
21-
self.title = @"手指移动画线";
21+
// self.title = @"手指移动画线";
22+
[MBProgressHUD showAutoMessage:@"手指移动画线"];
2223
}
2324

2425

PLMMPRJK/PLMMPRJK/Classes/Preview3/Controller/CoreAnimationControllers/LMJLZDHDTViewController.m

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ - (void)viewDidLoad {
1818
[super viewDidLoad];
1919

2020
self.fd_interactivePopDisabled = YES;
21-
self.title = @"手指移动画线";
21+
// self.title = @"手指移动画线";
22+
[MBProgressHUD showAutoMessage:@"手指移动画线"];
2223

2324
}
2425
- (IBAction)startAni:(UIButton *)sender {

PLMMPRJK/PLMMPRJK/Classes/Preview3/Controller/CoreAnimationControllers/LMJZDTPViewController.m

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ @implementation LMJZDTPViewController
2626
// 如果快速把两个控件拼接成一个完整图片
2727
- (void)viewDidLoad {
2828
[super viewDidLoad];
29-
self.title = @"拖拽顶部图片";
29+
// self.title = @"拖拽顶部图片";
30+
[MBProgressHUD showAutoMessage:@"拖拽顶部图片"];
3031
// Do any additional setup after loading the view, typically from a nib.
3132
// 通过设置contentsRect可以设置图片显示的尺寸,取值0~1
3233
_topView.layer.contentsRect = CGRectMake(0, 0, 1, 0.5);

PLMMPRJK/PLMMPRJK/Classes/Preview3/Controller/CoreGraphics/LMJPicClipViewController.m

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,7 @@ @implementation LMJPicClipViewController
2121

2222
- (void)viewDidLoad {
2323
[super viewDidLoad];
24-
25-
self.title = @"移动手指拖拽";
24+
[MBProgressHUD showAutoMessage:@"手指拖拽截图"];
2625

2726
// 给控制器的view添加一个pan手势
2827
UIPanGestureRecognizer *pan = [[UIPanGestureRecognizer alloc] initWithTarget:self action:@selector(pan:)];

0 commit comments

Comments
 (0)