iOS模态视图
//模态视图(临时弹出使用)
GreenViewController *green=[[GreenViewController alloc] init];
green.modalTransitionStyle=UIModalTransitionStyleFlipHorizontal;
[self presentViewController:green animated:YES completion:nil];
-(void)buttonAction:(UIButton*)sender
{ //退回模态视图
[self dismissViewControllerAnimated:YES completion:nil];
}
posted on 2015-07-24 10:49 yucaijiang 阅读(235) 评论(0) 收藏 举报
浙公网安备 33010602011771号