用手机调试嫌麻烦,要是能在safari或chrome里调试就好多了
|
wenbinwuJun 18, 2013
1
xcode
|
|
little_cupJun 18, 2013
2
xcode+1
|
|
3
@wenbinwu 刚试了下可以,不过xcode开模拟器必须新建一个ios项目吗?还有就是这个方法能不能用html/css检查器?三指触摸才能滚动也不是很爽。
|
|
lanceliJun 18, 2013
5
iOS Simulator + Safari
http://developer.apple.com/library/ios/#documentation/AppleApplications/Reference/SafariWebContent/DebuggingSafarion iPhone Content/DebuggingSafarion iPhone Content.html |
|
romooJun 18, 2013
7
Chrome 的 Developer Tools,把 User Agent 改成 iOS。
|
|
sparkJun 18, 2013
8
Safari +1
|
|
SivanJun 18, 2013
9
感觉直接用手机的 Safari 调试挺方便的啊,可以直接在开发工具改手机中的效果。
|
|
luinJun 18, 2013
10
在iOS Simulator里打开Safari,然后在OS X的Safari中可以打开inspector调试
|
|
kfllJun 18, 2013 via iPhone
12
iOS 6
Safari Mobile 设置中的 Web 调试器 打开 连上 Mountain Lion Safari 开发菜单中能看到自己的手机 另外 Chrome 能设置页面 viewport 宽高 |
|
FuryBeanJun 18, 2013
14
@ayang23 开模拟器只需要在XCode的Dock图标上右键->Open Develper Tools->iOS Simulator,不需要新建项目。
|
|
15
|
|
hzlzhJun 18, 2013
16
除了楼上的模拟器方法,也可以试试safari的联动真机调试。
http://zlz.im/how-to-use-ios-safari-remote-debug-tools/ |