iPad custom size of modal view controller

前端 未结 13 1975
挽巷
挽巷 2020-12-07 08:11

I have a couple of modal view controllers of certain size. I\'m trying to avoid the use of custom views (creating full screen black translucent overlay over current view, ad

13条回答
  •  不思量自难忘°
    2020-12-07 08:49

    I obtained the following result (link text) by using:

    self.modalPresentationStyle = UIModalPresentationFormSheet;
    

    and by presenting it as a modal view controller. Let me know if you need further help.

提交回复
热议问题