开发者

UISplitViewController popover menu fills screen, how to change the size?

开发者 https://www.devze.com 2023-04-05 09:55 出处:网络
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), b

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号