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
This commit is contained in:
Hanton Yang 2019-09-04 23:21:57 -07:00 committed by Facebook Github Bot
parent 93da0852d1
commit 628c547cc6

View file

@ -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