Generic Instance Method

textFieldStyle(_:)

Sets the style for TextField within the environment of self.

Declaration

func textFieldStyle<S>(_ style: StaticMember<S>) -> some View where S : TextFieldStyle

See Also

Styling Control Views

func pickerStyle<S>(StaticMember<S>) -> View

Sets the style for Picker within the environment of self.

Deprecated
func datePickerStyle<S>(StaticMember<S>) -> View

Sets the style for DatePicker within the environment of self

Deprecated
func toggleStyle<S>(StaticMember<S>) -> View

Sets the style for Toggle within the environment of self

Deprecated

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software