I just released a game to the app store and realized I completely forgot to lock it to portrait only. I need to submit an updated version that does just that. At this point, is it enough to just go to general > deployment info and uncheck everything but Portrait and then submit this as a new build? Or do I also need to do something to the code? Please note that it's a swift app.
相关问题
- “Zero out” sensitive String data in Swift
- SwiftUI: UIImage (QRCode) does not load after call
- Get the NSRange for the visible text after scroll
- UIPanGestureRecognizer is not working in iOS 13
- What does a Firebase observer actually do?
相关文章
- Using if let syntax in switch statement
- xcode 4 garbage collection removed?
- Xcode: Is there a way to change line spacing (UI L
- Unable to process app at this time due to a genera
- Enum with associated value conforming to CaseItera
- Swift - hide pickerView after value selected
- Is there a Github markdown language identifier for
- Popover segue to static cell UITableView causes co
Simple.
Here's how you do it.
1. Open your project and go do your build settings.
Scroll down to the tab that says
Deployment Info
.3. From there you can see a section called
Device Orientation
, This is where you need to be. Select an orientation like so.4 Build the project and you are done!
There are two different plist keys for iOS in
info.plist
for orientation,Both of these must have the appropriate key value pairs in the plist.
Go to your info.plist file, Supported interface orientations, delete the keys you don't need.
The basic answer is: yes, that should be sufficient.
However: