Returns the drawing rectangle for the built-in clear button.
- iOS 2.0+
- Mac Catalyst 13.0+
- tvOS 9.0+
The bounding rectangle of the receiver.
The rectangle in which to draw the clear button.
You should not call this method directly. If you want to place the clear button in a different location, you can override this method and return the new rectangle. Your method should call the
super implementation and modify the returned rectangle’s origin only. Changing the size of the clear button may cause unnecessary distortion of the button image.