Last active
March 19, 2020 05:23
-
-
Save popeyelau/3f93b30fc581e0297be9 to your computer and use it in GitHub Desktop.
IQKeyboardManager基本配置|-|{"files":{"IQKeyboardManagerSettings.m":{"env":"plain"}},"tag":"Gists"}
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
[IQKeyboardManager sharedManager].shouldShowTextFieldPlaceholder = NO; //是否显示输入提示 | |
[IQKeyboardManager sharedManager].keyboardDistanceFromTextField = 20.0; //键盘间距 | |
[IQKeyboardManager sharedManager].overrideKeyboardAppearance = YES; //是否覆盖键盘样式 | |
[IQKeyboardManager sharedManager].keyboardAppearance = UIKeyboardAppearanceDefault;//键盘样式 | |
[IQKeyboardManager sharedManager].toolbarManageBehaviour = IQAutoToolbarByPosition; //根据位置上下切换第一响应者 | |
[IQKeyboardManager sharedManager].shouldToolbarUsesTextFieldTintColor = YES; //toolbar按文本框tintColor渲染 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment