iOS全屏显示

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了iOS全屏显示相关的知识,希望对你有一定的参考价值。

  1. if(popoverController != nil)
  2. [popoverController dismissPopoverAnimated:NO];
  3.  
  4. UINavigationController *nc;
  5. nc = [[UINavigationController alloc] initWithRootViewController:onlineViewCtrl];
  6. nc.modalTransitionStyle = UIModalTransitionStyleCrossDissolve;
  7. nc.navigationBar.barStyle = UIBarStyleBlack;
  8. [self presentModalViewController:nc animated:YES];

以上是关于iOS全屏显示的主要内容,如果未能解决你的问题,请参考以下文章