当前位置: 移动技术网 > IT编程>移动开发>IOS > 速查TARGET_OS关系/Apple xcode 宏定义

速查TARGET_OS关系/Apple xcode 宏定义

2019年05月10日  | 移动技术网IT编程  | 我要评论

管材静液压试验机,吸星宝典,活力影院换心

 

 

 

记法 : 次级等于上级

target_os_win32           - generated code will run under 32-bit windows
target_os_unix            - generated code will run under some unix (not osx) 
target_os_mac             - generated code will run under mac os x variant/对于(可能)在apple平台上运行的任何cocoa应用程序,target_os_mac将为1。
   target_os_osx          - generated code will run under os x devices
   target_os_iphone          - generated code for firmware, devices, or simulator
      target_os_ios             - generated code will run under ios 
      target_os_tv              - generated code will run under apple tv os
      target_os_watch           - generated code will run under apple watch os
      target_os_bridge          - generated code will run under bridge devices
   target_os_simulator      - generated code will run under a simulator
target_os_embedded        - deprecated: use target_os_iphone and/or
target_os_simulator instead
target_iphone_simulator   - deprecated: same as target_os_simulator
target_os_nano            - deprecated: same as target_os_watch

 

如对本文有疑问,请在下面进行留言讨论,广大热心网友会与你互动!! 点击进行留言回复

相关文章:

验证码:
移动技术网