IOS - view之间切换




 

//进入下一页  
- (IBAction)Go:(id)sender {  
      
    TwoViewController *twoVC = [[TwoViewController alloc] init];//这里因为是自己生成的xib文件,所以这样子写就可以拉,如果是自己手动建的xib,那你要制定是哪一个xib  
    twoVC.valueDelegate = self;  
    [self setModalTransitionStyle:UIModalTransitionStylePartialCurl];//设置跳转过渡的一个style  
    [self presentViewController:twoVC animated:YES completion:nil];//进入下一个页面  
      
}  


 

 

posted on 2013-11-21 16:01  我的小人生  阅读(240)  评论(0编辑  收藏  举报