我想知道我的应用程序是否在运行时在设备或模拟器上运行.有没有办法检测到这个?
用模拟器测试蓝牙api的原因:http: //volcore.limbicsoft.com/2009/09/iphone-os-31-gamekit-pt-1-woooohooo.html
iphone simulator detect ios
detect ×1
ios ×1
iphone ×1
simulator ×1