Przeglądaj źródła

- 로그인 페이지 > 약관동의 페이지 닫기 애니메이션 수정

TaeHyun 8 lat temu
rodzic
commit
5989eb0638

+ 1 - 8
OneCable/Classes/ViewControllers/SignUpScreens/CertificationViewController.m

@@ -62,14 +62,7 @@
 
 - (IBAction)btnCancelTouched:(id)sender {
 
-    UIViewController *vc = [CommonUtil instantiateViewControllerWithIdentifier:@"LoginViewController" storyboardName:@"Main"];
-    
-    vc.providesPresentationContextTransitionStyle = NO;
-    vc.definesPresentationContext = NO;
-    
-    [vc setModalPresentationStyle:UIModalPresentationOverCurrentContext];
-    
-    [self presentViewController:vc animated:YES completion:nil];
+    [self dismissViewControllerAnimated:YES completion:nil];
 }
 
 - (IBAction)btnSendTouched:(id)sender {