我希望视图保持静态,但内容在视图内重新定向
我正在为 iPad 创建一个包含多个子视图的视图。我希望旋转 iPad 时子视图的所有位置和大小保持不变,但子视图内的内容重新定向。有谁知道该怎么做?
I am making a view with several subviews for iPad. I want all the positioning and sizing of the subviews to stay the same when rotating the iPad, but the content inside the subviews to re-orient. Does anyone know how to do this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
听起来您仍然需要根据方向来布局视图。但是,纵向和横向框架在屏幕上的比例会有所不同。
如何布局视图的示例:
It sounds like you still need to layout the views depending on the orientation. However, you're portrait and landscape frames would have different proportions on the screen.
An Example of how you might layout a view: