0
このコードを変更して、ナビゲーションバーの右端に単語の代わりに情報ボタンを表示するにはどうすればよいですか?ナビゲーションバーのインフォメーションライトボタン
- (void)viewDidLoad {
[self setTitle:@"About"];
[super viewDidLoad];
UIBarButtonItem *addButton = [[[UIBarButtonItem alloc] initWithTitle:NSLocalizedString(@"info", @"")
style:UIBarButtonItemStyleBordered
target:self
action:@selector(addAction:)] autorelease];
self.navigationItem.rightBarButtonItem = addButton;
}
いい仕事...驚いた誰もupvoted? – jsetting32