The currency symbol for the locale.
SDKs
- iOS 10.0+
- macOS 10.12+
- Mac Catalyst 13.0+
- tvOS 10.0+
- watchOS 3.0+
Framework
- Foundation
Declaration
@property(readonly, copy) NSString *currencySymbol;
Discussion
Example currency symbols include "$"
, "€"
, and "¥"
.
This property contains the same value returned by the object
method when passing the NSLocale
key.