react-native/React/Modules
Tisho Georgiev 8a3e1e92f3 Prevent loading message from resetting simulator orientation on every reload.
Summary:If you're working on an app that needs to support landscape, reloading the app causes the iPhone simulator to reset its orientation to portrait every time the `RCTDevLoadingView` shows up. This is because it sets the root VC to `RCTModalHostViewController`, which currently supports only portrait orientations on iPhone. Changing the root view to a vanilla `UIViewController` fixes the issue.

**Steps to Reproduce**

1. Create a blank RN project: `react-native init RNTest`
2. Open it up and run it.
3. Rotate to landscape `Cmd+Right Arrow`.
4. Reload by pressing `Cmd+R`.

**Expected**

The simulator stays in landscape mode.

**Actual**

The simulator goes back to portrait.
Closes https://github.com/facebook/react-native/pull/6765

Differential Revision: D3127339

Pulled By: javache

fb-gh-sync-id: e2543c90c8d116307dcefa89a417447c1f1a327f
fbshipit-source-id: e2543c90c8d116307dcefa89a417447c1f1a327f
2016-04-01 12:31:21 -07:00
..
RCTAccessibilityManager.h
RCTAccessibilityManager.m
RCTAlertManager.h
RCTAlertManager.m Actually use the 'defaultValue' property in AlertViewIOS. 2016-03-15 04:26:25 -07:00
RCTAppState.h
RCTAppState.m Use 'background' app state when app is foregrounded from notif 2016-03-21 18:39:21 -07:00
RCTAsyncLocalStorage.h
RCTAsyncLocalStorage.m Increase RN devtools retry timeout 2016-04-01 07:02:25 -07:00
RCTClipboard.h add Clipboard component for ios and android 2015-12-09 10:04:21 -08:00
RCTClipboard.m Minor fixes to clipboard and Linking to remove TODOs 2016-02-10 12:25:51 -08:00
RCTDevLoadingView.h
RCTDevLoadingView.m Prevent loading message from resetting simulator orientation on every reload. 2016-04-01 12:31:21 -07:00
RCTDevMenu.h Refactor hot loading implementation on iOS 2016-01-04 10:40:32 -08:00
RCTDevMenu.m RN: Packager URL defaults to port 8081 if no port in bundleURL 2016-03-30 12:38:19 -07:00
RCTExceptionsManager.h
RCTExceptionsManager.m Replaced RegExp method parser with recursive descent 2015-12-10 10:12:29 -08:00
RCTRedBox.h
RCTRedBox.m Hot Loading Sourcemaps 2016-01-27 14:55:36 -08:00
RCTSourceCode.h
RCTSourceCode.m Fix promises on iOS to no longer wrap values in Arrays 2016-02-10 07:25:35 -08:00
RCTStatusBarManager.h
RCTStatusBarManager.m Export method to get current status bar height 2016-01-04 04:31:26 -08:00
RCTTiming.h
RCTTiming.m Don't warn when jsSchedulingOverhead is negative 2016-03-04 17:30:06 -08:00
RCTUIManager.h Extracted rootview-specific shadowview logic into new class 2016-03-21 03:21:27 -07:00
RCTUIManager.m Increase RN devtools retry timeout 2016-04-01 07:02:25 -07:00