【发布时间】:2023-04-02 19:45:02
【问题描述】:
我在其中添加了一个 UIScrollView 和 2 个 UIImageView。它在肖像模式下显示得很好。但它以横向模式隐藏它。我从 xcode n 模拟器运行并实现了方法 - (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation。
我是 iPad 编程的新手,但被卡住了。感谢任何帮助。
【问题讨论】: