首页
Python
Java
PHP
IOS
NodeJS
JavaScript
HTML5
小程序
AI
uastring
全部标签
iphone - 如何检测 iphone/ipod touch 是否正在访问我的 appengine 应用程序?
如果通过iphone/ipodtouch访问页面,我需要以不同方式呈现该页面。我想信息在请求对象中,但语法是什么? 最佳答案 这是我一直在寻找的语法,适用于iphone和ipodtouch:uastring=self.request.headers.get('user_agent')if"Mobile"inuastringand"Safari"inuastring:#doiphone/ipodstuff 关于iphone-如何检测iphone/ipodtouch是否正在访问我的appen
iphone
appengine
section
uastring
python
google-app-engine
web-applications
Home
Powered By IT.CAOLU.XIN
页面耗时:0.0525s