Skip to content

Latest commit

 

History

History
7 lines (5 loc) · 404 Bytes

showViewController方法.md

File metadata and controls

7 lines (5 loc) · 404 Bytes

#showViewController方法

  1. [showViewController:sender:]:这个方法,会自动判断当前页面是在Navigation里面,还是普通的Controller。从而自己选择push或者modal
  2. [showDetailViewController:sender:]:主要用于iPad
  3. [modalPresentationStyle]:设置Modal的呈现方式,是覆盖,还是全屏,还是透明
  4. [modalTransitionStyleproperty]:设置转场动画