forked from John-Lluch/SWRevealViewController
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixes BOOL adjust which was never NO
[controller performSelector:@selector(automaticallyAdjustsScrollViewInsets) withObject:nil] returns id, which cast as BOOL is always YES if not nil. it can just call the method directly since the the minimum SDK is iOS 7 now. There is no need anymore for respondsToSelector: conditions.
- Loading branch information
Showing
1 changed file
with
4 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters