1 controller切换
AboutViewController *aboutViewController = [[AboutViewController alloc]init];

[self.navigationController pushViewController:aboutViewController animated:YES]; //新视图压入到栈中

[AboutViewController release];


AboutViewController 返回按钮:
[self.navigationController popViewControllerAnimated:YES];//弹出后返回到原视图

2 从上向上滑出
NewProfileViewController *newProfileController =[[ewProfileViewController alloc]init];

[self.navigationController presentModalViewController:newProfileController animated:YES];

[newProfileController release];

 

NewProfileViewController取消按钮:
[self dismissModalViewControllerAnimated:YES];

 

3 弹出窗口

4 窗口翻转

相关文章:

  • 2022-12-23
  • 2021-12-15
  • 2021-07-02
  • 2022-12-23
  • 2021-12-05
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-12-14
  • 2022-02-25
  • 2022-12-23
相关资源
相似解决方案