iOS presentViewController 页面透明设置
2016-04-21 14:55
323 查看
_profileVC.modalPresentationStyle=UIModalPresentationOverCurrentContext; //设置过后再设置页面的透明度
_profileVC.view.backgroundColor =
RGB(244,
243,
243, 0.4);
_profileVC.view.superview.backgroundColor
= [UIColor
clearColor];
[self
presentViewController:_profileVC
animated:YES
completion:^(void){
}];
_profileVC.view.backgroundColor =
RGB(244,
243,
243, 0.4);
_profileVC.view.superview.backgroundColor
= [UIColor
clearColor];
[self
presentViewController:_profileVC
animated:YES
completion:^(void){
}];
相关文章推荐
- 关闭一些运行警告
- 可复用且高度解耦的iOS用户统计实现
- iOS开发之自定义导航栏返回按钮右滑返回手势失效的解决---亲测是有效的。
- iOS注意的一些小问题
- 改进iOS客户端的升级提醒功能--(by cos_sin_tan 虽然是转载的,但是我还是很有兴趣实现他的说法。)
- iOS弹出一个View(自定义的提示框)
- iOS-绘图教程
- iOS 趣谈设计模式——通知
- iOS极光推送集成
- 写出方法获取ios内存使用情况
- 关于NSUserDefaults
- IOS应用版本更新(自动提醒用户)
- 粒子发送器
- IOS学习之——Gesture手势基础
- iOS开发 ☞ NSPredicate 谓词过滤
- iOS开发系列--录音
- IOS中OC与JS互相调用
- iOS 技能图谱
- Nagios 监控系列学习 ―― MRTG监控交换机流量
- IOS 二维码扫描