标签:
//模态视图(临时弹出使用)
GreenViewController *green=[[GreenViewController alloc] init];
green.modalTransitionStyle=UIModalTransitionStyleFlipHorizontal;
[self presentViewController:green animated:YES completion:nil];
-(void)buttonAction:(UIButton*)sender
{ //退回模态视图
[self dismissViewControllerAnimated:YES completion:nil];
}
标签:
原文地址:http://www.cnblogs.com/-ios/p/4672772.html