UIWebView can't display PHP files

前提是你 提交于 2019-12-11 13:16:20

问题


I am using a UIWebView to display local php file, but id shows only "undefined" why ?


回答1:


how do you plan to serve the php file in iphone? Unless there is an internal web server, you cannot view a php file from a web view.




回答2:


Your PHP file being a local file to the iPhone has no way of being executed for there is no web server set up.



来源:https://stackoverflow.com/questions/8326210/uiwebview-cant-display-php-files

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