Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在编写一个 iPad 应用程序,我刚刚编写了旋转方法,并且有一些按钮。我使用了 CGRectMake 方法并重新定位了按钮...纵向和横向模式都可以正常工作,但我的问题是当我将 ipad 倒置时按钮没有重新定位。需要帮忙
UIDeviceOrientationPortraitUpsidedown 是解决方案