UIPopoverController Set height when used with PresentFromBarButtonItem

I have a UIPopoverController that displays a UItableview. I am using the PresentFromBarButtonItem method.

How to report that a UIPopoverCOntroller will be only 200px higher? By default, this is full screen height.

+4
source share
1 answer

In the ViewDidLoad view of the displayed call, this method is called:

self.contentSizeForViewInPopover = CGSizeMake(250, 210);

+6
source

Source: https://habr.com/ru/post/1332317/


All Articles