yogevbd 6 년 전
부모
커밋
47abec7f10
1개의 변경된 파일6개의 추가작업 그리고 0개의 파일을 삭제
  1. 6
    0
      lib/ios/RNNModalManager.m

+ 6
- 0
lib/ios/RNNModalManager.m 파일 보기

@@ -95,6 +95,12 @@
95 95
 			
96 96
 			[self removePendingNextModalIfOnTop:nil];
97 97
 		}];
98
+	} else {
99
+		[modalToDismiss.view removeFromSuperview];
100
+		modalToDismiss.view = nil;
101
+		if (completion) {
102
+			completion();
103
+		}
98 104
 	}
99 105
 }
100 106