ScreenListVC
* screenList = [[ScreenListVC
alloc]
init];
if ([[[UIDevice currentDevice] systemVersion] floatValue]>=8.0) {
screenList.modalPresentationStyle=UIModalPresentationOverCurrentContext;
}else{
self.modalPresentationStyle=UIModalPresentationCurrentContext;
}
[self presentViewController:screenList animated:YES completion:^(void){
screenList.view.superview.backgroundColor = [UIColor clearColor];// 背景色透明
if ([[[UIDevice currentDevice] systemVersion] floatValue]>=8.0) {
screenList.modalPresentationStyle=UIModalPresentationOverCurrentContext;
}else{
self.modalPresentationStyle=UIModalPresentationCurrentContext;
}
[self presentViewController:screenList animated:YES completion:^(void){
screenList.view.superview.backgroundColor = [UIColor clearColor];// 背景色透明
}];
看代码就行吧, 应该不用是说 啥, 我感觉我发的东西都挺简单的, 大牛什么的有别的想法可以留下你们的地址, 让小弟也学习学习,