statasbar颜色
来源:互联网 发布:叫号机软件 编辑:程序博客网 时间:2024/04/29 17:02
ios6不能修改用下面这种方法也不行
ios7
AppDelegate *delegate = (AppDelegate *)APP_DELEGATE;
UIView *statusBarBackground = [[UIView alloc] initWithFrame:CGRectMake(0, 0, delegate.window.bounds.size.width, 20.0f)];
statusBarBackground.tag = 1000;
statusBarBackground.backgroundColor = [UIColor blackColor];
statusBarBackground.alpha = 1.0;
statusBarBackground.userInteractionEnabled = NO;
statusBarBackground.layer.zPosition = 999; // Position its layer over all other views
[delegate.window addSubview:statusBarBackground];
0 0
- statasbar颜色
- 颜色!!!!!!!!
- 颜色
- 颜色
- 颜色
- 颜色
- 颜色
- 颜色
- 颜色
- 颜色
- 颜色
- 颜色
- 颜色
- 颜色
- 颜色
- 颜色
- 颜色
- 颜色
- QT相关资料
- Oil Deposits BFS+DFS
- 整个电脑ctrl+z失效解决
- hibernate-------could not instantiate id generator
- 51单片机I2C程序
- statasbar颜色
- HBase导入大数据三大方式之(一)——hive类SQL语句方式
- 使用json传输数组实例
- Java System.exit(0)和System.exit(1)区别
- 手机数据丢失可以恢复吗
- MAC OS实用快捷键集锦
- 一步步学习微软InfoPath2010和SP2010--第十三章节--SharePoint视图和仪表板(1)--服务台请求
- UVA 10344 - 23 out of 5 全排列,3进制表示状态,回溯
- win server 2003+apache+php 开启openssl