Iphone – whats the height of uitextfield in xcode (iphone)


the square kind… (not rounded)

Im trying to make a background that fits my texfield and cant seem to find the height (default) anywhere

Best Solution

Default height is 31pts (you can see that in IB), but it is fixed only for rounded border style - with all other styles you can set field height to arbitrary value.

btw, you can find a reference for common UI elements sizes here