2015-07-31 14:37:12 +00:00
|
|
|
/**
|
|
|
|
* Copyright (c) 2015-present, Facebook, Inc.
|
|
|
|
*
|
2018-02-17 02:24:55 +00:00
|
|
|
* This source code is licensed under the MIT license found in the
|
|
|
|
* LICENSE file in the root directory of this source tree.
|
2015-07-31 14:37:12 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#import <Foundation/Foundation.h>
|
|
|
|
|
2016-11-23 15:47:52 +00:00
|
|
|
#import <React/RCTBridge.h>
|
|
|
|
#import <React/RCTBridgeModule.h>
|
2015-07-31 14:37:12 +00:00
|
|
|
|
|
|
|
extern NSString *const RCTAccessibilityManagerDidUpdateMultiplierNotification; // posted when multiplier is changed
|
|
|
|
|
|
|
|
@interface RCTAccessibilityManager : NSObject <RCTBridgeModule>
|
|
|
|
|
|
|
|
@property (nonatomic, readonly) CGFloat multiplier;
|
|
|
|
|
2015-08-07 09:32:00 +00:00
|
|
|
/// map from UIKit categories to multipliers
|
2015-11-14 18:25:00 +00:00
|
|
|
@property (nonatomic, copy) NSDictionary<NSString *, NSNumber *> *multipliers;
|
2015-08-07 09:32:00 +00:00
|
|
|
|
2015-10-02 01:07:06 +00:00
|
|
|
@property (nonatomic, assign) BOOL isVoiceOverEnabled;
|
|
|
|
|
2015-07-31 14:37:12 +00:00
|
|
|
@end
|
|
|
|
|
|
|
|
@interface RCTBridge (RCTAccessibilityManager)
|
|
|
|
|
|
|
|
@property (nonatomic, readonly) RCTAccessibilityManager *accessibilityManager;
|
|
|
|
|
|
|
|
@end
|