react-native-macos/React/Views/SafeAreaView
Ken Tominaga 398595e074 Remove iOS 11 version check (#32151)
Summary:
This pull request aims to remove iOS 11 version check which is no longer needed.

The minimum iOS deployment target for React Native is `iOS 11` but we still have iOS 11 version check like below.

```
#if __IPHONE_OS_VERSION_MAX_ALLOWED >= 110000 /* __IPHONE_11_0 */
        if (available(iOS 11.0, *)) {
```

> React Native apps may target iOS 11.0 and Android 5.0 (API 21) or newer.

ref: https://github.com/facebook/react-native#-requirements

------

If there is a team motivation to remove the deprecated methods and classes before iOS 10, I can continue the work in this pull request or in the continuing pull requests.

We have deprecated warnings for these in the project.

- `UIUserNotificationSettings`
- `UILocalNotification`
- `topLayoutGuide` and `bottomLayoutGuide`
- `automaticallyAdjustsScrollViewInsets`

## Changelog

[iOS] [Changed] - Remove iOS 11 version check

Pull Request resolved: https://github.com/facebook/react-native/pull/32151

Reviewed By: sammy-SC

Differential Revision: D30877917

Pulled By: yungsters

fbshipit-source-id: d903ea5d557beeb65ef87bfce572e4db3532b3c5
2021-09-22 10:37:09 -07:00
..
RCTSafeAreaShadowView.h Tidy up license headers [2/n] 2019-10-16 10:06:34 -07:00
RCTSafeAreaShadowView.m Clang format for all React Native files 2020-03-08 23:01:17 -07:00
RCTSafeAreaView.h Tidy up license headers [2/n] 2019-10-16 10:06:34 -07:00
RCTSafeAreaView.m Remove iOS 11 version check (#32151) 2021-09-22 10:37:09 -07:00
RCTSafeAreaViewLocalData.h Tidy up license headers [2/n] 2019-10-16 10:06:34 -07:00
RCTSafeAreaViewLocalData.m Tidy up license headers [2/n] 2019-10-16 10:06:34 -07:00
RCTSafeAreaViewManager.h Tidy up license headers [2/n] 2019-10-16 10:06:34 -07:00
RCTSafeAreaViewManager.m Tidy up license headers [2/n] 2019-10-16 10:06:34 -07:00