UIDocumentInteractionController 创建就crash有大侠么?

打开服务器文件,

NSURL *fileURL = [NSURL URLWithString:_newsModel.fileLink];
if (fileURL) {
        self.doucmentVC = [UIDocumentInteractionController interactionControllerWithURL:fileURL];//这句就crash 
        self.doucmentVC.delegate = self;
    }

崩溃信息

clipboard.png

已经把控制器作为属性了,链接也正常,放在浏览器上可以打开,为什么会crash了呢?

阅读 3.5k
1 个回答

应该是本地文件的url吧

撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进
推荐问题