locale(_:)
Modifies the person name components format style to use the specified locale.
Declaration
func locale(_ locale: Locale) -> PersonNameComponents.FormatStyleParameters
- locale:
The locale to use when formatting person name components.
Return Value
A person name components format style with the provided locale.