Why is UIWebView canGoBack=NO in iOS7?

后端 未结 4 597
[愿得一人]
[愿得一人] 2020-12-05 15:46

I\'m embedding this web site into my app like this:

NSString *url = [NSString stringWithFormat:@\"https://mobile.twitter.com/search?q=%@\", @\"@test OR #tes         


        
4条回答
  •  广开言路
    2020-12-05 16:10

    After changing the property to "strong" reference, my problem disappeared.

    before:

     @property (nonatomic, weak) IBOutlet UIWebView *webView;
    

    after changing the property to "strong":

     @property (nonatomic, strong) IBOutlet UIWebView *webView;
    

提交回复
热议问题