htmlDocPtr/gethtml issue

≯℡__Kan透↙ 提交于 2019-12-11 15:22:07

问题


I have this kind of code in an iOS app of mine:

NSString *docNameString;
docNameString=@"https://www.mysite.php";
documentHTML=gethtml((char*)[docNameString UTF8String],
                     (char*)[@"UTF-8" UTF8String]);

It was working up to now (meaning last time I touched the app in Xcode).

But now it is no longer working. I get this message in the Xcode console:

I/O warning : failed to load external entity "https://www.mysite.php"
Document not parsed successfully.

I am currently using Xcode Version 10.0.

Anyone has an idea of how to deal with this issue?

来源:https://stackoverflow.com/questions/52695180/htmldocptr-gethtml-issue

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!