Thursday, September 29, 2022

[FIXED] How to add a clear button to the keyboard on tvos?

Issue

I have been looking for a way to add a clear button on tvos. I tried adding a button to self.rightView of the UITextField.

But it does not work. Is there another solution for this?


Solution

I know this doesn't answer your exact question about how to add a button to a text field, but as a user you can clear any text field by clicking and holding the backspace button.



Answered By - Justin Voss
Answer Checked By - Mary Flores (PHPFixing Volunteer)

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.