UIWebView - Load Local Content


/ Published in: Objective C
Save to your folder(s)



Copy this code and paste it in your HTML
  1. [WebView loadRequest:[NSURLRequest requestWithURL:[NSURL fileURLWithPath:[[NSBundle mainBundle] pathForResource:@"index" ofType:@"html"]isDirectory:NO]]];

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.