From 628c547cc6d10a1da4edfbc0ca85843f4f81c347 Mon Sep 17 00:00:00 2001 From: Hanton Yang Date: Wed, 4 Sep 2019 23:21:57 -0700 Subject: [PATCH] Remove the redundant __IPHONE_11_0 (#1351) Summary: ## Changes in this pull request Remove the redundant __IPHONE_11_0, because the minimum requirement is Xcode 9.0+ now. ### Checklist - [x] All tests pass. Demo project builds and runs. - [x] I added tests, an experiment, or detailed why my change isn't tested. - [x] I added an entry to the `CHANGELOG.md` for any breaking changes, enhancements, or bug fixes. - [x] I have reviewed the [contributing guide](https://github.com/Instagram/IGListKit/blob/master/.github/CONTRIBUTING.md) Pull Request resolved: https://github.com/Instagram/IGListKit/pull/1351 Differential Revision: D17200815 Pulled By: lorixx fbshipit-source-id: 25705856cf26d5c215ed956802ab1022c98cbca0 --- Source/Internal/UIScrollView+IGListKit.m | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Source/Internal/UIScrollView+IGListKit.m b/Source/Internal/UIScrollView+IGListKit.m index 4acec349..afc7d08f 100644 --- a/Source/Internal/UIScrollView+IGListKit.m +++ b/Source/Internal/UIScrollView+IGListKit.m @@ -11,15 +11,11 @@ - (UIEdgeInsets) ig_contentInset { -#ifdef __IPHONE_11_0 if (@available(iOS 11.0, tvOS 11.0, *)) { return self.adjustedContentInset; } else { return self.contentInset; } -#else - return self.contentInset; -#endif } @end