I'm listening for url loads from my UIWebView. Is there a way to check if the request has a target of "_blank"?:
- (BOOL) webView:(UIWebView *)webView
shouldStartLoadWithRequest:(NSURLRequest *)request
navigationType:(UIWebViewNavigationType)navigationType
{
if ([request targetIs:@"_blank"]) {
// do something.
}
}