Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/iphone/43.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Iphone Can';t使用SVWebViewController(iOS)打开PDF_Iphone_Objective C_Pdf_Ios7 - Fatal编程技术网

Iphone Can';t使用SVWebViewController(iOS)打开PDF

Iphone Can';t使用SVWebViewController(iOS)打开PDF,iphone,objective-c,pdf,ios7,Iphone,Objective C,Pdf,Ios7,我在我的应用程序上使用SVWebViewController已经6个月了。 由于iOS7,我无法打开PDF。没有发生错误,但我没有任何内容显示 但是,如果我请求一个像谷歌这样的基本URL,内容就会出现 问题只是当我试图打开PDF文件时 我使用这个库: 我使用以下代码调用viewController: SVModalWebViewController *modalVC = [[SVModalWebViewController alloc] initWithAddress:xmlParserCo

我在我的应用程序上使用SVWebViewController已经6个月了。 由于iOS7,我无法打开PDF。没有发生错误,但我没有任何内容显示

但是,如果我请求一个像谷歌这样的基本URL,内容就会出现

问题只是当我试图打开PDF文件时

我使用这个库:

我使用以下代码调用viewController:

 SVModalWebViewController *modalVC = [[SVModalWebViewController alloc]
 initWithAddress:xmlParserContenuAppelOffre.file];

 [self presentViewController:modalVC animated:YES completion:nil];
有人有同样的问题,可以解决吗


Thx

我认为问题其实是由SVWebViewController引起的

SVWebViewController使用
UIWebview加载请求:
,它不适用于PDF Url,但适用于google Url。 所以我猜iOS7有问题,因为我也不能在Safari上打开PDF文件,而且我并不孤单->

等等看