react-native/ReactKit/Views/RCTView.h

25 lines
644 B
C
Raw Normal View History

2015-01-30 01:10:49 +00:00
// Copyright 2004-present Facebook. All Rights Reserved.
#import "RCTView.h"
#import <UIKit/UIKit.h>
#import "RCTPointerEvents.h"
2015-01-30 01:10:49 +00:00
@protocol RCTAutoInsetsProtocol;
@interface RCTView : UIView
@property (nonatomic, assign) RCTPointerEvents pointerEvents;
2015-01-30 01:10:49 +00:00
@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