webview的约束
This commit is contained in:
Binary file not shown.
@@ -66,8 +66,8 @@ class WebViewController : ZDViewController {
|
||||
view.dd_showHUD()
|
||||
}
|
||||
|
||||
override func viewWillLayoutSubviews() {
|
||||
super.viewWillLayoutSubviews()
|
||||
override func viewSafeAreaInsetsDidChange() {
|
||||
super.viewSafeAreaInsetsDidChange()
|
||||
if showNavBar == false {
|
||||
statusBarBackgroundView.snp.remakeConstraints { make in
|
||||
make.top.left.right.equalToSuperview()
|
||||
@@ -82,7 +82,7 @@ class WebViewController : ZDViewController {
|
||||
}else{
|
||||
webView.snp.remakeConstraints { make in
|
||||
make.left.right.equalToSuperview()
|
||||
make.top.equalTo(CGRectGetHeight(navigationController?.navigationBar.frame ?? .zero) + CGRectGetHeight(UIApplication.shared.dd_statusBarFrame))
|
||||
make.top.equalTo(view.safeAreaInsets.top)
|
||||
make.bottom.equalTo(-view.safeAreaInsets.bottom)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -308,7 +308,7 @@ PODS:
|
||||
- ZLPhotoBrowser/Core (4.4.3.2)
|
||||
|
||||
DEPENDENCIES:
|
||||
- BRPickerView (= 2.8.0)
|
||||
- BRPickerView
|
||||
- Bugly
|
||||
- DDAudioPlayerKit_Private
|
||||
- DDAutoUIKit_Private
|
||||
@@ -429,6 +429,6 @@ SPEC CHECKSUMS:
|
||||
SwiftyRSA: 8c6dd1ea7db1b8dc4fb517a202f88bb1354bc2c6
|
||||
ZLPhotoBrowser: 0563c2bfc7b247b65d023d646012f46cba94101b
|
||||
|
||||
PODFILE CHECKSUM: 96c1ebaac8dd93918200066b5731f8b3d0ee177c
|
||||
PODFILE CHECKSUM: 75e62ee633534110b4a33fd42fd1175199c85796
|
||||
|
||||
COCOAPODS: 1.11.3
|
||||
|
||||
4
Pods/Manifest.lock
generated
4
Pods/Manifest.lock
generated
@@ -308,7 +308,7 @@ PODS:
|
||||
- ZLPhotoBrowser/Core (4.4.3.2)
|
||||
|
||||
DEPENDENCIES:
|
||||
- BRPickerView (= 2.8.0)
|
||||
- BRPickerView
|
||||
- Bugly
|
||||
- DDAudioPlayerKit_Private
|
||||
- DDAutoUIKit_Private
|
||||
@@ -429,6 +429,6 @@ SPEC CHECKSUMS:
|
||||
SwiftyRSA: 8c6dd1ea7db1b8dc4fb517a202f88bb1354bc2c6
|
||||
ZLPhotoBrowser: 0563c2bfc7b247b65d023d646012f46cba94101b
|
||||
|
||||
PODFILE CHECKSUM: 96c1ebaac8dd93918200066b5731f8b3d0ee177c
|
||||
PODFILE CHECKSUM: 75e62ee633534110b4a33fd42fd1175199c85796
|
||||
|
||||
COCOAPODS: 1.11.3
|
||||
|
||||
@@ -5,17 +5,17 @@
|
||||
|
||||
|
||||
|
||||
<testcase classname="fastlane.lanes" name="0: default_platform" time="0.000171">
|
||||
<testcase classname="fastlane.lanes" name="0: default_platform" time="0.000165">
|
||||
|
||||
</testcase>
|
||||
|
||||
|
||||
<testcase classname="fastlane.lanes" name="1: gym" time="74.415893">
|
||||
<testcase classname="fastlane.lanes" name="1: gym" time="74.506723">
|
||||
|
||||
</testcase>
|
||||
|
||||
|
||||
<testcase classname="fastlane.lanes" name="2: pgyer" time="20.184174">
|
||||
<testcase classname="fastlane.lanes" name="2: pgyer" time="10.882376">
|
||||
|
||||
</testcase>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user