【读书笔记】UIWindow-WindowLevel
2015-07-27 18:28
295 查看
WindowLevel是UIWindow的一个属性。系统定义的一共有3种。
代码:
输出结果:
参考资料:《iOS开发进阶》-唐巧
UIKIT_EXTERN const UIWindowLevel UIWindowLevelNormal; UIKIT_EXTERN const UIWindowLevel UIWindowLevelAlert; UIKIT_EXTERN const UIWindowLevel UIWindowLevelStatusBar;
代码:
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { // Override point for customization after application launch. NSLog(@"UIWindowLevelNormal=%f UIWindowLeveStatusBar=%f UIWindowLevelAlert=%f",UIWindowLevelNormal,UIWindowLevelStatusBar,UIWindowLevelAlert); return YES; }
输出结果:
2015-07-19 21:02:45.448 WindowLevelDemo[775:24283] UIWindowLevelNormal=0.000000 UIWindowLeveStatusBar=1000.000000 UIWindowLevelAlert=2000.000000
参考资料:《iOS开发进阶》-唐巧
相关文章推荐
- codeforce Gym 100500H ICPC Quest (简单dp)
- Unique Binary Search Trees
- UITableViewRowAction的使用
- html元素li的value属性
- iOS-UI-01 UIWindow UIView
- hdu5033 Building 单调队列
- UIView及其子类
- iOS Error: build settings specify a provisioning profile with the UUID
- MVC interview question
- B - Build The Electric System --- (fisrt qualifying)
- UEFI中的Protocol浅谈
- Daikon Forge GUI Library(dfgui)之Event Binding
- Building a Space Station---poj2031
- iOS 在UILabel显示不同的字体和颜色
- 格而知之1:UIButton中imageView和titleLabel的位置调整
- HDU1560 DNA sequence (IDA*)
- 【HDOJ 5288】OO’s Sequence
- libcpmt.lib (xxx.obj) LNK2038: mismatch detected for 'RuntimeLibrary': value 'MT_StaticRelease' doesn't match value 'MD_DynamicRelease' in XXX.obj
- 【HDU 5312】Sequence(数学问题)
- ios UITableview 刷新某一个cell 或 section