Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- NSString *PDFPath = [[NSBundle mainBundle] pathForResource:@"filename" ofType:@"pdf"];
- NSURL *URL = [NSURL fileURLWithPath:PDFPath];
- NSURLRequest *URLRequest = [NSURLRequest requestWithURL:URL];
- [webView loadRequest:URLRequest];
Add Comment
Please, Sign In to add comment