[ios] Fixed keyboard appearance.

This commit is contained in:
VladiMihaylenko 2016-01-29 13:26:19 +03:00 committed by Sergey Yershov
parent a7f4e0b256
commit 900e0a5689

View file

@ -658,6 +658,9 @@ void InitLocalizedStrings()
pageControl.pageIndicatorTintColor = [UIColor blackHintText];
pageControl.currentPageIndicatorTintColor = [UIColor blackSecondaryText];
pageControl.backgroundColor = [UIColor white];
UITextField * textField = [UITextField appearance];
textField.keyboardAppearance = [UIColor isNightMode] ? UIKeyboardAppearanceDark : UIKeyboardAppearanceDefault;
}