iPhone: UIBarButtonSystemItemSave and Localization
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.
精彩评论