कॉल करने के बाद आईओएस 9.3 फ्रीज आईओएस 9.3 पर openURL
पर कॉल करने के बाद मेरा ऐप फ्रीज 13E233 & 13E234 बनाता है।ओपन 9
मैंने dispatch_after
का उपयोग करने का प्रयास किया लेकिन यह समस्या को ठीक नहीं करता है।
यहां कोड है, कुछ विशेष नहीं है।
+ (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];
}];
}
यह एक iOS बग की तरह लगता है, कई अन्य क्षुधा प्रभावित भी।
क्या आप अपना कोड दिखा सकते हैं? – Fonix
क्या आप पूरे फ़ंक्शन कोड को पोस्ट कर सकते हैं? –
@Fonix कोड जोड़ा गया –