您的位置:首页 > 移动开发 > IOS开发

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){

    }];
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: