模拟器判断
#if targetEnvironment(simulator)
#endif
#if os(iOS) && (arch(x86_64) || arch(i386))
#endif
另外可以看
check simulator
模拟器判断
#if targetEnvironment(simulator)
#endif
#if os(iOS) && (arch(x86_64) || arch(i386))
#endif
另外可以看
check simulator
本文标题:swift 判断模拟器
本文链接:https://www.haomeiwen.com/subject/xkcrohtx.html
网友评论