Question

How do i add a button to the right of a navigation item in a view controller?

Was it helpful?

Solution

self.navigationItem.leftBarButtonItem = [[[UIBarButtonItem alloc] initWithTitle:@"About" style:UIBarButtonItemStyleBordered target:self action:@selector(aboutB)] autorelease];
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top