添加一个按钮,导航项目的代码
-
26-09-2019 - |
题
如何在一个视图控制器添加一个按钮的导航项的右边?
解决方案
self.navigationItem.leftBarButtonItem = [[[UIBarButtonItem alloc] initWithTitle:@"About" style:UIBarButtonItemStyleBordered target:self action:@selector(aboutB)] autorelease];
不隶属于 StackOverflow