We have resolved this issue using performselector and inside that method use dispatch_async.

[self performSelector:@selector(methodToRedirectToURL) withObject:url afterDelay:0.1];

-(void)methodToRedirectToURL{
dispatch_async(dispatch_get_main_queue(), ^{
    [[UIApplication sharedApplication] openURL:url];
});
}

You may also like

Leave a Reply