Skip to content

Commit 2391d61

Browse files
Cleanup
1 parent ca5e8db commit 2391d61

File tree

2 files changed

+505
-1729
lines changed

2 files changed

+505
-1729
lines changed

React/Views/SafeAreaView/RCTSafeAreaUtils.h

+4-1
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,13 @@
1111
NS_ASSUME_NONNULL_BEGIN
1212

1313
/**
14-
* Return if two edge insets are
14+
* Returns if two edge insets are equal with `threshold` for epsilon.
1515
*/
1616
RCT_EXTERN BOOL RCTUIEdgeInsetsEqualToEdgeInsetsWithThreshold(UIEdgeInsets insets1, UIEdgeInsets insets2, CGFloat threshold);
1717

18+
/**
19+
* Returns the safe area insets for a view with a polyfill for ios < 11.
20+
*/
1821
RCT_EXTERN UIEdgeInsets RCTSafeAreaInsetsForView(UIView *view);
1922

2023
NS_ASSUME_NONNULL_END

0 commit comments

Comments
 (0)