ios app hits straight shouldstartloadwithrequest after coming from background instead
问题 I have a webview in my mainviewcontroller and i am laoding a webpage in viewdidload method as below: - (void)viewDidLoad { [super viewDidLoad]; NSURLRequest *requestObj = [NSURLRequest requestWithURL:url]; [_loginWebView loadRequest:requestObj]; } and in the shouldstartloadwithrequest method, i check if the url contains "itunes" and i have the following code for it: - (BOOL)webView:(UIWebView *)webView shouldStartLoadWithRequest:(NSURLRequest *)request navigationType:(UIWebViewNavigationType