textCase(_:)
Sets a transform for the case of the text contained in this view when displayed.
Declaration
nonisolated func textCase(_ textCase: Text.Case?) -> some View
Parameters
- textCase:
One of the Case enumerations; the default is
nil.
Return Value
A view that transforms the case of the text.
Discussion
The default value is nil, displaying the text without any case changes.