Add a button to navigation item in code
-
26-09-2019 - |
문제
How do i add a button to the right of a navigation item in a view controller?
해결책
self.navigationItem.leftBarButtonItem = [[[UIBarButtonItem alloc] initWithTitle:@"About" style:UIBarButtonItemStyleBordered target:self action:@selector(aboutB)] autorelease];
제휴하지 않습니다 StackOverflow