mirror of
https://github.com/Instagram/IGListKit
synced 2026-05-23 09:18:29 +00:00
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:
parent
93da0852d1
commit
628c547cc6
1 changed files with 0 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue