We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 310fb01 commit 3e09b18Copy full SHA for 3e09b18
Classes/MPNumericTextField.m
@@ -64,7 +64,7 @@ - (id)init {
64
65
- (void) setDefaults {
66
self.locale = [NSLocale currentLocale];
67
- self.currencyCode = self.locale.currencyCode;
+ self.currencyCode = [self.locale objectForKey:NSLocaleCurrencyCode];
68
self.keyboardType = UIKeyboardTypeDecimalPad;
69
self.type = MPNumericTextFieldDecimal;
70
self.delegate = self.numericDelegate;
0 commit comments