阅读背景:

如何以编程方式构建本地化日历月名的NSArray ?

来源:互联网 

I am in the process of localizing/internationalizing my iPhone app and have a question. In one place in my app, I show a list of the 12 months of the year. As it is in its currently non-localized state, I simply have the months January - December hard-coded into an NSArray. I'd like to use NSCalendar to programmatically build this NSArray of months based on the user's locale. What is the best way to do this?I am in the process of localizing/international




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: