弹出透明导航控制器
CommonReplyController *vc = [CommonReplyController new];
UINavigationController *navi = [[UINavigationController alloc] initWithRootViewController:vc];
navi.view.backgroundColor = [UIColor clearColor];
if ([[[UIDevice currentDevice] systemVersion] floatValue]>=8.0) {
vc.modalPresentationStyle=UIModalPresentationOverCurrentContext;
navi.modalPresentationStyle = UIModalPresentationOverCurrentContext;
}else{
self.modalPresentationStyle=UIModalPresentationCurrentContext;
navi.modalPresentationStyle = UIModalPresentationCurrentContext;
}
[self presentViewController:navi animated:YES completion:nil];
弹出透明控制器
CommonReplyController *vc = [CommonReplyController new];
if ([[[UIDevice currentDevice] systemVersion] floatValue]>=8.0) {
vc.modalPresentationStyle=UIModalPresentationOverCurrentContext;
}else{
self.modalPresentationStyle=UIModalPresentationCurrentContext;
}
[self presentViewController:navi animated:YES completion:nil];