开发者

Currency Format change in the Device, Why?

I am using XCODE 4. In My app I am using NSCurrencyFormatter Code...

    NSNumberFormatter *formatter = [[NSNumberFormatter alloc] init];
 [formatter setNumberStyle:NSNumberFormatterCurrencyStyle]; 
  ... = [formatter stringFrom开发者_如何学GoNumber:number];

Problem is On Device Instead of $ it shows RS. In simulator it works fine with $.


I just need to change the iphone setings.. Settings --> General --> International -->Region Settings to Whichever country I need to make. Then My currency will set on Iphone according to this..

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜