-(BOOL)webView:(UIWebView *)webView shouldStartLoadWithRequest:(NSURLRequest *)request navigationType:(UIWebViewNavigationType)navigationType; {
NSURL *requestURL =[ [ request URL ] retain ];
if ( ( [ [ requestURL scheme ] isEqualToString: @"http" ] || [ [ requestURL scheme ] isEqualToString: @"https" ] || [ [ requestURL scheme ] isEqualToString: @"mailto" ])
&& ( navigationType == UIWebViewNavigationTypeLinkClicked ) ) {
return ![ [ UIApplication sharedApplication ] openURL: [ requestURL autorelease ] ];
}
[ requestURL release ];
return YES; }
Tuesday, January 25, 2011
Force webview to open Safari or Maps
http://efreedom.com/Question/1-2532453/Force-Webview-Link-Launch-Safari
Wednesday, January 12, 2011
New Site build PointOfView
PointOfView http://www.pov.com.au/ launched not so long back, lighting designers in Sydney and Melbourne. Build http://www.epidote.com.au
New site build Planisphere
http://www.planisphere.com.au/ launched a little while back....build http://www.epidote.com.au, design http://www.divadata.com.au/
Subscribe to:
Posts (Atom)