how can i open local file (html,jpg...etc ) and website url with same uiwebview
this code worked for website url only
NSURL *targetURL = [NSURL URLWithString:url];
NSURLRequest *request = [NSURLRequest requestWithURL:targetURL];
[viewWeb loadRequest:request];}
or can i use check if the path input is URL or Local File if yes ? How ?