Hi, I am having a trouble for my first app, i am using UIWebView to display a local pdf file for my apps, but when I use my iPhone simulator to open the apps, I find all the images is missing. the pdf file is around 50mb.
There is the code I used
(void)viewDidLoad {
[super viewDidLoad];
pdfURL = [NSURL fileURLWithPath:[[NSBundle mainBundle] pathForResource:@"Dog" ofType:@"pdf"]];
[webView loadRequest:[NSURLRequest requestWithURL:pdfURL]];
NSString *urlAddress = @"http://www.mychar.com/iphone/banner_ipad.png";
NSURL *url = [NSURL URLWithString:urlAddress];
NSURLRequest *requestObj = [NSURLRequest requestWithURL:url];
[webView2 loadRequest:requestObj];
}