react-native/React/Modules
Adam Comella eddc2c90f6 iOS: Add getContentSizeMultiplier & event
Summary:
Corresponding Android PR: https://github.com/facebook/react-native/pull/11008

This gives apps the ability to find out the current scaling factor for fonts on the device. An event was also added so that apps can find out when this value changes.

**Test plan (required)**

Verified that the getter and the event work properly in a test app. Also, this change is used in my team's app.

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

Differential Revision: D4207620

Pulled By: ericvicenti

fbshipit-source-id: b3f6f4a412557ba97e1f5fb63446c7ff9a2ff753
2016-11-18 17:28:31 -08:00
..
JSCSamplingProfiler.h Add support for JSC's sampling profiler on iOS for RN 2016-11-15 09:29:06 -08:00
JSCSamplingProfiler.m Fixing a missing colon 2016-11-15 11:17:49 -08:00
RCTAccessibilityManager.h Replaced RCTSparseArray with NSDictionary 2015-11-14 10:28:28 -08:00
RCTAccessibilityManager.m Update RCTNetworking, RCTNetInfo and RCTLocationManager to use new events system 2016-05-25 04:28:36 -07:00
RCTAlertManager.h Apple TV support 1: existing Objective C code should compile for tvOS 2016-09-27 06:28:33 -07:00
RCTAlertManager.m Fix Alert memory leak 2016-10-25 17:28:49 -07:00
RCTAppState.h Updated AppState module to use new emitter system 2016-05-23 09:13:37 -07:00
RCTAppState.m iOS: Provide correct initial value for AppState.currentState 2016-07-12 23:28:22 -07:00
RCTAsyncLocalStorage.h Added lightweight generic annotations 2015-11-03 14:49:30 -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 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 Show packager progress in UI 2016-10-13 11:43:41 -07:00
RCTDevLoadingView.m Show packager progress in UI 2016-10-13 11:43:41 -07:00
RCTDevMenu.h Refactor hot loading implementation on iOS 2016-01-04 10:40:32 -08:00
RCTDevMenu.m Cleanup RCTSourceCode 2016-11-18 05:13:31 -08:00
RCTEventEmitter.h Added native event emitter 2016-05-11 06:27:29 -07:00
RCTEventEmitter.m Use new enqueueJSCall method everywhere 2016-08-02 11:14:06 -07:00
RCTExceptionsManager.h Refactored module access to allow for lazy loading 2015-11-25 04:49:45 -08:00
RCTExceptionsManager.m Remove unused variable in RCTExceptionsManager 2016-11-18 14:13:27 -08:00
RCTI18nManager.h Move Bridge functions to OSS -- RTL experiment 2016-07-06 16:28:41 -07:00
RCTI18nManager.m Provide forceRTL for LTR language to test 2016-08-04 12:28:30 -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
RCTKeyboardObserver.h Added native event emitter 2016-05-11 06:27:29 -07:00
RCTKeyboardObserver.m Apple TV support 1: existing Objective C code should compile for tvOS 2016-09-27 06:28:33 -07:00
RCTRedBox.h Add ability to customize error messages and stacks within the iOS redbox 2016-07-18 11:28:36 -07:00
RCTRedBox.m Cleanup display of C++ stack frames in redbox 2016-11-14 04:59:13 -08:00
RCTSourceCode.h Cleanup RCTSourceCode 2016-11-18 05:13:31 -08:00
RCTSourceCode.m Cleanup RCTSourceCode 2016-11-18 05:13:31 -08:00
RCTStatusBarManager.h Travis CI reliability fixes: preload package manager and increase tim… 2016-10-16 15:43:44 -07:00
RCTStatusBarManager.m Travis CI reliability fixes: preload package manager and increase tim… 2016-10-16 15:43:44 -07:00
RCTTiming.h [ReactNative] Use a single DisplayLink held by the bridge 2015-04-15 07:07:48 -08:00
RCTTiming.m remove incorrect `__unused` modifier 2016-09-06 02:43:40 -07:00
RCTUIManager.h Apple TV support 2: Xcode projects and CI (scripts/objc-test.sh) 2016-10-05 07:28:44 -07:00
RCTUIManager.m iOS: Add getContentSizeMultiplier & event 2016-11-18 17:28:31 -08:00