2009-11-09

How to add an additional button to the navigation bar in an iPhone application

UIBarButtonItem *barButton = [[UIBarButtonItem alloc] initWithTitle:@"Additional" style:UIBarButtonItemStyleBordered target:self action:@selector(additionalAction:)];

self.navigationItem.rightBarButtonItem = barButton;

[barButton release];

No comments: