preferredTextFieldWidth()
The preferred width of the form’s cells when using Auto Layout.
Declaration
func preferredTextFieldWidth() -> CGFloatReturn 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.