I developed a static library for iPhone using a UINavigationController & pushing some UIViewControllers.
I’m implementing a way to permit ipad developers to include my library to their iPad applications. To do so, I want to display my library controllers in a UIPopoverController whose size is the iphone one.
That’s I have developed, but each time i’m pushing a new viewController, the Popover resizes itself a very strange way:

I’ve checked my view controllers (via interface builder), and the AutoResize behaviors are deactivated.
Anybody have a solution ?
The
UIViewControllerthat theUIPopoverViewControllerdisplays needs to set this property:to indicate its displaying size, and the
UIPopoverViewControllerwill get resized according to the value of that property. For example: