How to change the size of a popover

前端 未结 6 1174
庸人自扰
庸人自扰 2020-12-29 20:17

I\'m having trouble changing the size of my popover presentation. Here is what I have so far

 override func prepareForSegue(segue: UIStoryboardSegue, sender:         


        
6条回答
  •  被撕碎了的回忆
    2020-12-29 21:06

    I fixed it via storyboard : Click on your controller Click on Attribute inspector ViewController> Check Use Preferred Explicit size and input values.

提交回复
热议问题