ZSDocumentInteractionTest icon indicating copy to clipboard operation
ZSDocumentInteractionTest copied to clipboard

按demo里代码去做程序崩溃

Open hexiaojiang opened this issue 8 years ago • 5 comments

invalid mode 'kCFRunLoopCommonModes' provided to CFRunLoopRunSpecific - break on _CFRunLoopError_RunCalledWithInvalidMode to debug. This message will only appear once per execution. libc++abi.dylib: terminate_handler unexpectedly threw an exception

请问是还需要做什么配置吗?盼复.

hexiaojiang avatar Jul 17 '17 08:07 hexiaojiang

执行的哪段code?直接跑Demo会出错么?贴个代码出来吧!

SeraZheng avatar Jul 17 '17 10:07 SeraZheng

基础配置都在文章里:http://www.jianshu.com/p/3f03897cf98a

SeraZheng avatar Jul 17 '17 10:07 SeraZheng

崩溃问题已经解决.是需要在info里面做些配置,Document types这个属性 另外,我想问一下,是不是只能打开pdf格式的文件,如果我想打开ppt,docx文件,怎么打开的?

hexiaojiang avatar Jul 18 '17 02:07 hexiaojiang

可以设置,详细UTI分享类型看我另外一篇文章:http://www.jianshu.com/p/d6fe1e7af9b6

SeraZheng avatar Jul 18 '17 03:07 SeraZheng

万分感谢,大兄弟.

hexiaojiang avatar Jul 18 '17 03:07 hexiaojiang