problem in setting PopoverContentSize

后端 未结 5 878
醉酒成梦
醉酒成梦 2021-01-14 12:41

I am not able to set the contentsize with size(650,400).But even i create popoverController with same width & height it is getting created.

No idea what is worry

5条回答
  •  萌比男神i
    2021-01-14 12:51

    It's not very clear what you are asking but with popovers you need to make sure you set the popoverContentSize on the content view controller before displaying the popover. Usually I do this in viewDidLoad method of my view controllers that will be used in popovers.

提交回复
热议问题