search

Home  >  Q&A  >  body text

ios - UIViewController modal弹出另一个UIViewController 如何做到不全屏覆盖

如题,UIViewController modal弹出另一个UIViewController 如何做到不全屏覆盖

希望新的UIViewController只遮盖屏幕的一部分

PHPzPHPz2887 days ago632

reply all(2)I'll reply

  • PHPz

    PHPz2017-04-17 17:35:27

    VC.modalPresentationStyle = UIModalPresentationCustom;

    reply
    0
  • 怪我咯

    怪我咯2017-04-17 17:35:27

    You may want to take a look at your design drawing
    Because many people have written frameworks to solve your situation

    reply
    0
  • Cancelreply