ios中全局设置软键盘弹出文字颜色
2019-01-08 本文已影响0人
zttjhm
[[UIBarButtonItem appearanceWhenContainedIn: [UIToolbar class], nil] setTitleTextAttributes: @{ NSForegroundColorAttributeName: [UIColor blueColor] } forState: UIControlStateNormal];
[[UIBarButtonItem appearanceWhenContainedIn: [UIToolbar class], nil] setTitleTextAttributes: @{ NSForegroundColorAttributeName: [UIColor blueColor] } forState: UIControlStateNormal];