I'm trying to load a UIViewController in iPad with Form Sheet presentation. The problem is the size of this new view, i put the size values in the IBuilder but the modal view take a fixed value.
Also i tried to make this in prepareForSegue like this:
HelpViewController *viewController = segue.destinationViewController;
viewController.view.superview.frame = CGRectMake(0, 0, 200, 200);
But don't work, any help? Thanks!
Best Answer
For iOS 8, use:
I've placed this in
viewDidLoad
.Swift 3