//模拟器 #if TARGET_IPHONE_SIMULATOR //真机 #elif TARGET_OS_IPHONE #endif
参考: http://www.jianshu.com/p/498b53c5467b
本文标题:判断真机还是模拟器
本文链接:https://www.haomeiwen.com/subject/nevfuttx.html
网友评论