mirror of
https://github.com/leanote/leanote-ios.git
synced 2025-10-14 15:11:00 +00:00
Update LeaWebViewController.m
This commit is contained in:
@@ -94,6 +94,12 @@
|
||||
|
||||
NSString *vfl = @"V:|-0-[webView]-44-|"; // 上0, 下44
|
||||
NSString *vfl1 = @"H:|-0-[webView]-0-|"; // 左右为0
|
||||
// self.view.automaticallyAdjustsScrollViewInsets = YES;
|
||||
// self.view.contentInsetAdjustmentBehavior = NO
|
||||
|
||||
// 导航栏遮挡问题 ios10
|
||||
[self.navigationController.navigationBar setTranslucent:NO];
|
||||
|
||||
_webView.translatesAutoresizingMaskIntoConstraints = NO;
|
||||
|
||||
[self.view addConstraints:[NSLayoutConstraint constraintsWithVisualFormat:vfl options:0 metrics:nil views:dic]];
|
||||
|
Reference in New Issue
Block a user