Instance Method

preferredTextFieldWidth

The preferred width of the form’s cells when using Auto Layout.

Declaration

- (CGFloat)preferredTextFieldWidth;

Return Value

The field’s width.

Discussion

If the width is negative, the cellSize matches the historic behavior, which is that it is large enough to accommodate the title, bezel, and the current text.

The default is -1.

See Also

Auto Layout Sizing

- setPreferredTextFieldWidth:

Sets the preferred text field width used by Auto Layout.

Deprecated