UISplitViewController popover menu fills screen, how to change the size?
I'm not sure what I did, because this used to work fine, but all of a sudden the popover menus in portrait orientation are filling the screen. Previously it would only be as big as the xib (320px), but no开发者_如何学JAVAw they cover the entire screen. (The xib for the table view controller contained in the popover.)
I don't think I have any code that controls this. Do you have any suggestions as to where I should look?
May be this will help you: from Apple Documentation:
@property(nonatomic, readwrite) CGSize contentSizeForViewInPopover
This property contains the desired size for the view controller when it is displayed in a popover. By default, the width is set to 320 points and the height is set to 1100 points. You can change these values as needed.
精彩评论