📂 Troubleshooting/Critical

1. 개요 앱을 백그라운드 상태로 두고 스키마를 통해 앱으로 진입될 때 AppDelegate에서 WebView에 callback을 줌 callback에 alert가 있는 경우 CPU 사용량 100%로 치솟음과 동시에 앱 터치 먹통 2. 재현 NSString* str = [[NSString alloc] initWithFormat:@"alert('Test')"]; dispatch_async(dispatch_get_main_queue(), ^{ [topView stringByEvaluatingJavaScriptFromString:str]; }); topView는 WebView 인스턴스라고 가정 AppDeleage에서 alert('Test')를 호출함 이 때 화면에 alert가 나타나며 현상 재현 3. 해결 ..
category_list_image
차니 ☻
2021.11.03
(0)
차니 ☻
'Troubleshooting/Critical' 카테고리의 글 목록