react-native/React/Modules
Adam Comella 2b7cb46ddb iOS: Fix registration for UIContentSizeCategoryDidChangeNotification
Summary:
On an iPhone running iOS 10.3.3, I'm not seeing the UIContentSizeCategoryDidChangeNotification fire when changing the system's font scale setting. Registering for the event on `nil` instead of on the application object fixes the issue.

**Test Plan**

Verified that text in an RN app changes size when you change the system's font scale setting (Settings -> General -> Accessibility -> Larger Text). By default, RN text is supposed to scale with the system setting.

Adam Comella
Microsoft Corp.
Closes https://github.com/facebook/react-native/pull/15522

Differential Revision: D5657449

Pulled By: shergin

fbshipit-source-id: d7a6a730c5cd6eb3833274a1f2029663ad3a7ad2
2017-08-17 23:47:19 -07:00
..
RCTAccessibilityManager.h Move all header imports to "<React/..>" 2016-11-23 07:58:39 -08:00
RCTAccessibilityManager.m iOS: Fix registration for UIContentSizeCategoryDidChangeNotification 2017-08-17 23:47:19 -07:00
RCTAlertManager.h Move all header imports to "<React/..>" 2016-11-23 07:58:39 -08:00
RCTAlertManager.m Add one more parameter(keyboardType) to AlertIOS.promot(). 2017-01-19 14:43:37 -08:00
RCTAppState.h Move all header imports to "<React/..>" 2016-11-23 07:58:39 -08:00
RCTAppState.m Configure requiresMainQueueSetup for core modules 2017-08-07 07:04:36 -07:00
RCTAsyncLocalStorage.h Move all header imports to "<React/..>" 2016-11-23 07:58:39 -08:00
RCTAsyncLocalStorage.m Enforcing semi-colon consistency between dev and release modes when calling RCTLog* 2016-11-16 07:28:32 -08:00
RCTClipboard.h Move all header imports to "<React/..>" 2016-11-23 07:58:39 -08:00
RCTClipboard.m remove unused includes in fbobjc/Libraries 2017-02-19 18:33:49 -08:00
RCTDevSettings.h Remove legacy JSC profiler 2017-07-20 04:21:16 -07:00
RCTDevSettings.mm Do not send 'hot' parameter when requesting a bundle from iOS 2017-08-16 11:10:32 -07:00
RCTDeviceInfo.h Introduce `DeviceInfo` as a new native module 2017-03-17 17:01:57 -07:00
RCTDeviceInfo.m Configure requiresMainQueueSetup for core modules 2017-08-07 07:04:36 -07:00
RCTEventEmitter.h Only start observing in requestPermissions() if not already observing 2017-04-19 11:30:36 -07:00
RCTEventEmitter.m Eagerly change the listeners count 2017-03-20 12:49:00 -07:00
RCTExceptionsManager.h Cleanup initialization of native modules in FBReactModule 2017-05-26 04:17:19 -07:00
RCTExceptionsManager.m Cleanup initialization of native modules in FBReactModule 2017-05-26 04:17:19 -07:00
RCTI18nManager.h Move all header imports to "<React/..>" 2016-11-23 07:58:39 -08:00
RCTI18nManager.m Configure requiresMainQueueSetup for core modules 2017-08-07 07:04:36 -07:00
RCTI18nUtil.h Provide forceRTL for LTR language to test 2016-08-04 12:28:30 -07:00
RCTI18nUtil.m enable RTL layout by default for all apps 2016-09-06 17:58:47 -07:00
RCTJSCSamplingProfiler.h Rename JSCSamplingProfiler to RCTJSCSamplingProfiler 2017-04-18 13:22:01 -07:00
RCTJSCSamplingProfiler.m Rename JSCSamplingProfiler to RCTJSCSamplingProfiler 2017-04-18 13:22:01 -07:00
RCTKeyboardObserver.h Move all header imports to "<React/..>" 2016-11-23 07:58:39 -08:00
RCTKeyboardObserver.m Apple TV support 1: existing Objective C code should compile for tvOS 2016-09-27 06:28:33 -07:00
RCTLayoutAnimation.h RCTAnimation & RCTLayoutAnimation were decoupled from RCTUIManager 2017-07-03 16:15:50 -07:00
RCTLayoutAnimation.m RCTAnimation & RCTLayoutAnimation were decoupled from RCTUIManager 2017-07-03 16:15:50 -07:00
RCTLayoutAnimationGroup.h RCTAnimation & RCTLayoutAnimation were decoupled from RCTUIManager 2017-07-03 16:15:50 -07:00
RCTLayoutAnimationGroup.m RCTAnimation & RCTLayoutAnimation were decoupled from RCTUIManager 2017-07-03 16:15:50 -07:00
RCTRedBox.h Move all header imports to "<React/..>" 2016-11-23 07:58:39 -08:00
RCTRedBox.m Show redbox window on JS errors for debug builds 2017-04-11 06:00:42 -07:00
RCTSourceCode.h Move all header imports to "<React/..>" 2016-11-23 07:58:39 -08:00
RCTSourceCode.m Configure requiresMainQueueSetup for core modules 2017-08-07 07:04:36 -07:00
RCTStatusBarManager.h Move all header imports to "<React/..>" 2016-11-23 07:58:39 -08:00
RCTStatusBarManager.m Replacing all instances of [UIApplication sharedApplication] wi… 2017-04-01 03:34:41 -07:00
RCTTVNavigationEventEmitter.h Apple TV support 4: support for input (tvOS focus engine) 2016-12-19 06:28:40 -08:00
RCTTVNavigationEventEmitter.m Apple TV support 4: support for input (tvOS focus engine) 2016-12-19 06:28:40 -08:00
RCTTiming.h Move all header imports to "<React/..>" 2016-11-23 07:58:39 -08:00
RCTTiming.m Update native references to JSTimers 2017-06-22 09:52:33 -07:00
RCTUIManager.h BREAKING: Removed couple unused notifications from RCTUIManager 2017-07-24 09:42:06 -07:00
RCTUIManager.m Fix format specifier used in RCTUIManager 2017-08-09 04:25:08 -07:00
RCTUIManagerObserverCoordinator.h RCTUIManagerObserverCoordinator: new way to subscribe for granular notifications from UI Manager 2017-05-08 12:52:09 -07:00
RCTUIManagerObserverCoordinator.m RCTUIManagerObserverCoordinator: new way to subscribe for granular notifications from UI Manager 2017-05-08 12:52:09 -07:00