UIWebView无法显示PHP文件 [英] UIWebView can't display PHP files

查看:21
本文介绍了UIWebView无法显示PHP文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用 UIWebView 显示本地 php 文件,但是id仅显示"undefined" 为什么?

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

推荐答案

您打算如何在iphone中提供php文件?除非有内部Web服务器,否则无法从Web视图查看php文件.

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.

这篇关于UIWebView无法显示PHP文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆