Jelajahi Sumber

更新完成

apple 5 tahun lalu
induk
melakukan
ef9d879d8f

TEMPAT SAMPAH
ios/JianYuIOS/JianYuIOS.xcworkspace/xcuserdata/apple.xcuserdatad/UserInterfaceState.xcuserstate


+ 9 - 1
ios/JianYuIOS/JianYuIOS/JYNewWebController.m

@@ -28,7 +28,15 @@
 - (UIProgressView *)progressView
 {
     if (_progressView == nil) {
-        _progressView = [[UIProgressView alloc] initWithFrame:CGRectMake(0,STATUS_BAR_HEIGHT - 2,WIDTH,2)];
+        CGFloat H = 0.0;
+        if (self.titleShow) {
+            if ([self.titleShow isEqualToString:@"-1"]) {
+               
+            }else {
+                H = NAVIGATION_BAR_HEIGHT;
+            }
+        }
+        _progressView = [[UIProgressView alloc] initWithFrame:CGRectMake(0,H - 2,WIDTH,2)];
         _progressView.tintColor = [UIColor blueColor];
         _progressView.trackTintColor = [UIColor whiteColor];
     }