你为什么不尝试这样..?
NSString *urlPath = [[NSBundle mainBundle] pathForResource:@"test" ofType:@"pdf"]; NSURL *url = [NSURL fileURLWithPath:urlPath]; NSURLRequest *urlRequest = [NSURLRequest requestWithURL:url]; [webViewOutlet loadRequest:urlRequest];