开发者

iPhone: UIBarButtonSystemItemSave and Localization

开发者 https://www.devze.com 2023-01-26 18:23 出处:网络
I\'m using the UIBarButtonSystemItemSave to get a Save button in my iPhone app. My idea was that using these system items, I should get automatic localization for these buttons. But it still says \"Sa

I'm using the UIBarButtonSystemItemSave to get a Save button in my iPhone app. My idea was that using these system items, I should get automatic localization for these buttons. But it still says "Save" in all languages. Isn't they automatically translated? Do I need to do it myself?

My Code:

UI开发者_如何学CBarButtonItem* saveItem = [[UIBarButtonItem alloc]  initWithBarButtonSystemItem:UIBarButtonSystemItemSave 
    target:self action:@selector(saveButtonClicked:)];
self.navigationItem.rightBarButtonItem = saveItem;
[saveItem release];


Strange... In my app it translates autoatically.

0

精彩评论

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