2
0

Can lower deployment target to 10.10

This commit is contained in:
Maarten Billemont
2020-04-16 17:13:08 -04:00
parent 1c3ea3826f
commit 63ca2ae83e
4 changed files with 13 additions and 18 deletions

View File

@@ -64,13 +64,7 @@ typedef NS_OPTIONS( NSUInteger, MPPasswordsTips ) {
self.collectionView.contentInsetAdjustmentBehavior = UIScrollViewContentInsetAdjustmentNever;
[self.collectionView automaticallyAdjustInsetsForKeyboard];
self.searchBar.autocapitalizationType = UITextAutocapitalizationTypeNone;
if ([self.searchBar respondsToSelector:@selector( keyboardAppearance )])
self.searchBar.keyboardAppearance = UIKeyboardAppearanceDark;
else
[self.searchBar enumerateViews:^(UIView *subview, BOOL *stop, BOOL *recurse) {
if ([subview isKindOfClass:[UITextField class]])
((UITextField *)subview).keyboardAppearance = UIKeyboardAppearanceDark;
} recurse:YES];
self.searchBar.keyboardAppearance = UIKeyboardAppearanceDark;
}
- (void)viewWillAppear:(BOOL)animated {