For iOS 7 or above.
- (CGSize)preferredContentSize {
return CGSizeMake(320, 550);
}
If you are a child of a container, re-direct the content size to yourself. E.g. In a UINavigationController subclass:
- (CGSize)preferredContentSize {
return self.topViewController.preferredContentSize;
}