Can I tint (black) a UIKeyboard? If so, how?

前端 未结 3 1463
别跟我提以往
别跟我提以往 2021-01-02 13:11

Is there a way to get a black keyboard? The default one is bluish. And the Alert style one is semi-transparent black. I was wondering if it was possible to have the keyboard

3条回答
  •  醉梦人生
    2021-01-02 13:41

    As Ben states above you can just use one of these two values:

    [textView setKeyboardAppearance:UIKeyboardAppearanceAlert];
    [textView setKeyboardAppearance:UIKeyboardAppearanceDefault];
    

提交回复
热议问题