iOS Simulator always shows 'x86_64' regardless of iPhone model being simulated

百般思念 提交于 2019-12-23 15:17:26

问题


I'm using the iOS Simulator to test how my PhoneGap application behaves across devices (iPhone 4, iPhone 5, iPhone 6 etc). I don't have each of these physical devices, so I'm limited to using the Simulator.

I can use PhoneGap's 'Device' plugin to get the model number, but in the Simulator it is listed as 'x86_64' every time, regardless of what device it is simulating. (The one physical device that I do have, an iPhone 6, it is correctly listed as 'iPhone7,2' when the app is tested on the device.)

Is there a way to make the Simulator return the model number for the resolution I'm currently running?

来源:https://stackoverflow.com/questions/28641516/ios-simulator-always-shows-x86-64-regardless-of-iphone-model-being-simulated

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