NSLocale 通貨形式を表示できるコードを探しています。
以下のコードを使用しました
NSNumberFormatter *formatter = [[NSNumberFormatter alloc] init] ;
[formatter setNumberStyle:NSNumberFormatterCurrencyStyle];
[formatter setLocale:skProduct.priceLocale];
NSLog(@"formatter%@",formatter);
NSLog(@"%@",skProduct.priceLocale); //// i want to print NSLocale value
NSString* currencyString = [formatter stringFromNumber:skProduct.price];
NSLog(@"currencyString price %@",currencyString);
NSLocale に応じて正確な価格を表示するにはどうすればよいですか NSLog(@"%@",skProduct.priceLocale); いくつかの記憶場所のように表示されます..助けてください