模态全屏模式,实现半透明效果
2015-09-23 13:43
309 查看
self.view.window.rootViewController.modalPresentationStyle = UIModalPresentationCurrentContext; //半透明
BiaoQianViewController *biaoQianVC = [[BiaoQianViewController alloc] init];
biaoQianVC.modalPresentationStyle = UIModalPresentationOverFullScreen;
biaoQianVC.view.frame = self.view.frame;
[self presentViewController:biaoQianVC animated:YES completion:nil];
BiaoQianViewController *biaoQianVC = [[BiaoQianViewController alloc] init];
biaoQianVC.modalPresentationStyle = UIModalPresentationOverFullScreen;
biaoQianVC.view.frame = self.view.frame;
[self presentViewController:biaoQianVC animated:YES completion:nil];
相关文章推荐
- spring web常用包的版本(gradle.properties)
- 关于java中的各种关键字
- source insight 注册码
- 费式数列:兔子问题
- Asp.net 中高亮显示搜索关键字简单方法
- 2015优秀的前端框架介绍
- 使用lsnrctl status命令区分动态注册,静态注册
- spring任务调度器quartz
- Java中Excel的导入导出
- QMetaObject之invokeMethod说明和使用
- hdu 1429 胜利大逃亡(延续)(BFS+比特压缩)
- 剪切图片
- PHP+MySQL开发的10条建议
- java web与discuz社区整合(二)
- 不能将值 NULL 插入列 'ID',表 列不允许有 Null 值.
- nginx + passenger 出现 Cannot stat .../config.ru': Permission denied 的错误的解决办法
- mysql双机热备份的实现步骤
- JS显示时间
- ThinkPHP——RBAC不同用户登录系统显示不同权限
- 【读书笔记:C++ primer plus 第六版 中文版】第17章 输入、输出和文件