How to navigate from one view controller to anothe

2019-02-12 16:13发布

I am new to iOS Application development, please help me how can I go from one view controller to another view controller on button click?

7条回答
ら.Afraid
2楼-- · 2019-02-12 16:43

//SAViewController will be your destiation view

// import SAViewController.h file in your current view

SAViewController *admin = [[SAViewController alloc]initWithNibName:@"SAViewController" bundle:nil];
[self presentModalViewController:admin animated:YES];
[admin release];
查看更多
登录 后发表回答