Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想更改工具栏中按钮的色调。
我见过这个问题,但我不知道如何访问工具栏对象......
self.navigationController.navigationBar.tintColor = [UIColor colorWithRed:0.83 green:0.43 blue:0.57 alpha:0.5];
考虑到您正在视图控制器中编写这行代码...
我发现这个Tint UIButton 和 UIBarButtonItem希望对您有所帮助!