init(frame:)
Creates a search bar with a specified frame.
Declaration
init(frame: CGRect)Parameters
- frame:
A rectangle that specifies the initial location and size of the search bar in its superview’s coordinates.
Creates a search bar with a specified frame.
init(frame: CGRect)A rectangle that specifies the initial location and size of the search bar in its superview’s coordinates.