GT2/Ejectable/node_modules/react-native-safe-area-context/ios/SafeAreaView/RCTView+SafeAreaCompat.h
2021-08-16 00:14:59 +00:00

16 lines
365 B
Objective-C

#import <UIKit/UIKit.h>
#import <React/RCTDefines.h>
#import <React/RCTView.h>
RCT_EXTERN BOOL UIEdgeInsetsEqualToEdgeInsetsWithThreshold(UIEdgeInsets insets1, UIEdgeInsets insets2, CGFloat threshold);
NS_ASSUME_NONNULL_BEGIN
@interface UIView(SafeAreaCompat)
- (BOOL)nativeSafeAreaSupport;
- (UIEdgeInsets)safeAreaInsetsOrEmulate;
@end
NS_ASSUME_NONNULL_END