Vladimir Stazhilov Vladimir Stazhilov - 6 months ago 48
Objective-C Question

UIPopoverController, how to change the size of it?

I've got UIPopoverController in my Split-View application, I just need to make popover longer.
In viewDidLoad of DetatilViewController I put:

self.popoverController.popoverContentSize=CGSizeMake(320, 1400);

Nothing happens( when should I put this? thanks

Done with that ^^^ How can I set background for Popover? thaanks


From iOS 7:

popoverView.contentViewController.preferredContentSize =  CGSizeMake(320, 1400);