How I get the clear button more on the right side?
-
29-12-2020 - |
문제
I add a UITextField to a UITableViewCell as a AccessoryView. I'd like a clear button at the end of the textfield. Now it looks like this:
I think the clear button doesn't look good. I think it should be more on the right site. But now I found no solution to get the button more on the right side. Do you have any solution for my problem.
(Sorry for my bad english, I'm no native.)
해결책
Subclass UITextfield and implement clearButtonRectForBounds:. You can refer to the iOS Reference Library for more details on UITextFields.
제휴하지 않습니다 StackOverflow