views:

29

answers:

0

Is there an object or function call that will provide standard dimensions for various user interface elements in the iPhone SDK? Specifically I'm looking for the width of the whitespace gutter the Interface Builder normally recommends you put get between controls and the edge of a view.

In windows there is a function call called GetSystemMetrics that supplies some of this type of information for Windows. When looking at the various iPhone examples around the web I see a lot of hard coding of dimensions. I generally don't like to do things that way.