UI_USER_INTERFACE_IDIOM()
2011-06-23 11:32
411 查看
p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; color: #008f27}
p.p2 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; color: #1e39f6}
/* The UI_USER_INTERFACE_IDIOM() macro is provided for use when deploying to a version of the iOS less than 3.2. If the earliest version of iPhone/iOS that you will be deploying for is 3.2 or greater, you may use -[UIDevice userInterfaceIdiom] directly.
*/
#define UI_USER_INTERFACE_IDIOM() ([[UIDevice currentDevice] respondsToSelector:@selector(userInterfaceIdiom)] ? [[UIDevice currentDevice] userInterfaceIdiom] : UIUserInterfaceIdiomPhone)
p.p2 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; color: #1e39f6}
/* The UI_USER_INTERFACE_IDIOM() macro is provided for use when deploying to a version of the iOS less than 3.2. If the earliest version of iPhone/iOS that you will be deploying for is 3.2 or greater, you may use -[UIDevice userInterfaceIdiom] directly.
*/
#define UI_USER_INTERFACE_IDIOM() ([[UIDevice currentDevice] respondsToSelector:@selector(userInterfaceIdiom)] ? [[UIDevice currentDevice] userInterfaceIdiom] : UIUserInterfaceIdiomPhone)
相关文章推荐
- UI_USER_INTERFACE_IDIOM() & UIDevice.model
- IOS - [UIDevice currentDevice] name/model/localizedMode/systemName/systemVersion...../userInterfaceIdiom
- 调用[[UIDevice currentDevice] userInterfaceIdiom]==UIUserInterfaceIdiomPad判断设备
- 关于UI_USER_INTERFACE_IDIOM() & UIDevice.model
- 关于UI_USER_INTERFACE_IDIOM() & UIDevice.model
- 关于UI_USER_INTERFACE_IDIOM() & …
- 调用[[UIDevice currentDevice] userInterfaceIdiom]==UIUserInterfaceIdiomPad判断设备
- 关于UI_USER_INTERFACE_IDIOM() & UIDevice.model
- 关于UI_USER_INTERFACE_IDIOM() & UIDevice.model
- YJUtilsUserInterfaceIdiom
- 25 Top UI Tools for User Interface Engineers
- Crownwood Magic UI Library 1.7.4.0,The User Interface Library for .NET(开放源码的控件库)
- User Interface Process(UIP) Application Block 2.0 研究总结
- UIDeviceOrientation 和 UIInterfaceOrientation 设备旋转的用法 (实例)
- [Android Training视频系列]1.3 Building a Simple User Interface
- How to customize the context menus of a WebBrowser control via the IDocHostUIHandler interface.
- Git ignore UserInterfaceState.xcuserstate
- 忽略UserInterfaceState.xcuserstate
- Dev Guide/Framework Topics/User Interface/Notifications
- Qt中用户界面的User Interface Compiler(uic)机制的相关说明