您的位置:首页 > 其它

模态全屏模式,实现半透明效果

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