react-native/ReactKit/Views/RCTView.h

25 lines
644 B
Objective-C

// Copyright 2004-present Facebook. All Rights Reserved.
#import "RCTView.h"
#import <UIKit/UIKit.h>
#import "RCTPointerEvents.h"
@protocol RCTAutoInsetsProtocol;
@interface RCTView : UIView
@property (nonatomic, assign) RCTPointerEvents pointerEvents;
@property (nonatomic, copy) NSString *overrideAccessibilityLabel;
+ (void)autoAdjustInsetsForView:(UIView<RCTAutoInsetsProtocol> *)parentView
withScrollView:(UIScrollView *)scrollView
updateOffset:(BOOL)updateOffset;
+ (UIViewController *)backingViewControllerForView:(UIView *)view;
+ (UIEdgeInsets)contentInsetsForView:(UIView *)curView;
@end