React Native app is pretty much just a normal iOS application, so you can do it in exactly the same way as you do for all other apps. Simply uncheck (in XCode) the “Landscape Left” and “Landscape Right” as allowed Device Orientations in the General application properties:
More Related Contents:
- React Native: How to select the next TextInput after pressing the “next” keyboard button?
- Print: Entry, “:CFBundleIdentifier”, Does Not Exist
- NSPhotoLibraryUsageDescription key must be present in Info.plist to use camera roll
- Get size of a View in React Native
- React Native Responsive Font Size
- Get current scroll position of ScrollView in React Native
- Is it possible to combine React Native with socket.io
- react-native iOS app not showing static/local assets (images) after deploying
- What is the meaning of ‘No bundle URL present’ in react-native?
- How to set iOS status bar background color in React Native?
- How can I regenerate ios folder in React Native project?
- React Native ios build : Can’t find node
- react-native ios Podfile issue with “use_native_modules!”
- library not found for -lDoubleConversion
- React Native XCode Project Product Archive Fails with duplicate symbols for architecture arm64
- React-native iOS not showing images (pods issue)
- React-Native iOS – How can I navigate to a non-React-Native view (native iOS view controller) from a React-Native view with a button press?
- Found a strange issue. Default value of BOOL is returning TRUE for iOS 10 [closed]
- How to change Status Bar text color in iOS
- UITableView example for Swift
- “Warning: iPhone apps should include an armv6 architecture” even with build config set
- How can I detect whether a user has an iPhone 6 Plus in standard or zoomed mode?
- Xcode 8 – IB Designables – Failed to render and update auto layout status, The agent crashed
- Xcode 8 build crash on iOS 9.2 and below
- “Creating an image format with an unknown type is an error” with UIImagePickerController
- iOS 7 style Blur view
- ITSAppUsesNonExemptEncryption export compliance while internal testing?
- import swift class in objective-c, -Swift.h file not found
- objc_sync_enter / objc_sync_exit not working with DISPATCH_QUEUE_PRIORITY_LOW
- Swift / How to use dispatch_group with multiple called web service?