SwiftPamphletApp
SwiftPamphletApp copied to clipboard
targetEnvironment 环境的判断
#if targetEnvironment(simulator)
// 模拟器
#else
// 真机
#endif