iOS presentViewController 之后设置界面透明
2016-04-15 11:59
357 查看
if ([[[UIDevice
currentDevice] systemVersion]
floatValue]>=8.0) {
web.modalPresentationStyle=UIModalPresentationOverCurrentContext;
}else{
web.modalPresentationStyle=UIModalPresentationCurrentContext;
}
[self
presentViewController:web animated:NO
completion:^{
}];
加上这句代码就可以了
currentDevice] systemVersion]
floatValue]>=8.0) {
web.modalPresentationStyle=UIModalPresentationOverCurrentContext;
}else{
web.modalPresentationStyle=UIModalPresentationCurrentContext;
}
[self
presentViewController:web animated:NO
completion:^{
}];
加上这句代码就可以了
相关文章推荐
- iOS中的动画
- ios CGRec用法
- IOS(CGGeometry)几何类方法总结
- iOS RunLoop处理逻辑(图解)
- IOS开发之深拷贝与浅拷贝(mutableCopy与Copy)详解
- iOS 添加启动图片
- iOS错误集锦,到此网址下面
- iOS多线程编程之GCD的使用
- iOS 指纹锁Touch ID解锁
- 【IOS开发】 XMPP 简介和 XMPP 框架导入工程文件
- IOS 通用静态库、Makefile文件使用
- iOS 系统图片详解
- ios下 模态viewController
- iOS synchronized的作用
- iOS开发-常用第三方开源框架介绍(你了解的ios只是冰山一角)
- 详解iOS tableViewCell自适应高度 第三发类库
- iOS开发过程中专门在调试时运行代码的方法
- iOS - 手机摇一摇
- iOS应用内付费(IAP)开发步骤列表
- iOS每日一记——————————————之 自定义textfield的ClearButton