GroupViewController *gruop = [[GroupViewController alloc]init];
UINavigationController *nav = [[UINavigationController alloc]initWithRootViewController:gruop];
[self presentViewController:nav animated:YES completion:nil];
当使用这种方式进行模态跳转时,你获取到的
// 半透明背景
_bgImage= [[UIImageView alloc]initWithFrame:CGRectMake(0, 0, XBScreenWidth, XBScreenHeight)];
// 当前控制器的view
[[UIApplication sharedApplication].keyWindow