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.
我正试图让多任务切换器一直以横向模式打开......即使手机是纵向的......有什么想法吗?该类是“SBAppSwitcherController”,我正在调用方法“viewDidAppear”
只需将 Supported Interface Orientations 设置为仅横向模式即可。为此,您可以在 Project Navigator 中转到您的项目。然后,您将看到 Supported Interface Orientations 标题。单击涉及纵向模式的深色图标以使其变亮。那么您的程序将仅处于横向模式。所以,如果我知道你在说什么,你就完了!