see: UIWebView Launch in Safari
you need to examine the url to see if it belongs to facebook,twitter,youtube etc and if so launch accordingly
-(BOOL) adBox:(UIWebView *)inWeb shouldStartLoadWithRequest:(NSURLRequest *)inRequest
navigationType:(UIWebViewNavigationType)inType {
if (![inRequest.URL.host isEqualToString:@"www.mydomain.com"]) { //Test if it's NOT my site
if ( inType == UIWebViewNavigationTypeLinkClicked ) {
[[UIApplication sharedApplication] openURL:[inRequest URL]];
return NO; //Open in Safair
}
}
return YES; //Open in UIWebView
}