New error in iOS 5: WebKit discarded an uncaught exception

后端 未结 2 1839
野性不改
野性不改 2021-02-06 09:09

I am trying to load a UIWebView with the Facebook OAuth authorization URL and I am using the following code. When my UIWebView loads with Facebook logi

2条回答
  •  星月不相逢
    2021-02-06 09:46

    I have the same problem. I try to present view controller just after dismissing.

    [self dismissModalViewControllerAnimated:YES];
    

    When I try to do it without animation it works perfectly. use dismissViewControllerAnimated:completion:

提交回复
热议问题