我不确定我做了什么,因为这曾经工作得很好,但突然纵向的弹出菜单填满了屏幕。以前它只有 xib (320px)那么大,但现在它们覆盖了整个屏幕。 (弹出窗口中包含的 TableView Controller 的 xib。)
我认为我没有任何代码可以控制它。您对我应该去哪里有什么建议吗?
最佳答案
也许这会对您有所帮助:来自 Apple 文档:
@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.
关于ios - UISplitViewController 弹出菜单填满屏幕,如何更改大小?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7421459/