iOS 9.3 se congela después de llamar a openURL
Mi aplicación se congela después de llamaropenURL
en iOS 9.3 compila 13E233 y 13E234.
Traté de usardispatch_after
Pero eso no soluciona el problema.
Aquí está el código, nada especial.
+ (void)someMethod:(UIView *)senderView {
[Utility showLoadingHUDWithText:nil inView:senderView];
[[SomeClient sharedClient] someNetworkAPI:^(id result) {
[Utility hideAllHUDsForView:senderView];
NSDictionary *dict = (NSDictionary *)result;
NSString *someString = dict[@"someKey"];
NSURL *url = [NSURL URLWithString:someString];
if ([[UIApplication sharedApplication] canOpenURL:url]) {
[[UIApplication sharedApplication] openURL:url];
}
} fail:^(NSError *error) {
[Utility hideAllHUDsForView:senderView];
[Utility showMessageHUD:error.localizedDescription];
}];
}
Parece un error de iOS, muchas otras aplicaciones afectadas también.