apple 4 년 전
부모
커밋
35cab76aa4

BIN
ios/JianYuIOS/JianYuIOS.xcworkspace/xcuserdata/apple.xcuserdatad/UserInterfaceState.xcuserstate


+ 2 - 1
ios/JianYuIOS/JianYuIOS/guide/ZKGuideView.m

@@ -270,8 +270,9 @@
 
 -(void)animationPop
 {
+    WeakSelf;
     [UIView animateWithDuration:0.5 animations:^{
-        [self.contentView setY:(HEIGHT-250)*0.4];
+        [weakSelf.contentView setY:(HEIGHT-250)*0.4];
     } completion:^(BOOL finished) {
         NSLog(@"完成");
     }];

+ 2 - 1
ios/JianYuIOS/JianYuIOS/guide/ZKPrivacyView.m

@@ -152,8 +152,9 @@
 
 -(void)animationPop
 {
+    WeakSelf;
     [UIView animateWithDuration:0.5 animations:^{
-        [self.contentView setY:0];
+        [weakSelf.contentView setY:0];
     } completion:^(BOOL finished) {
         NSLog(@"完成");
     }];