开发者

change UIBarButtonItem style

开发者 https://www.devze.com 2023-02-22 14:33 出处:网络
I create UIBarButtonItemusing UIBarButtonItem *previous = [[UIBarButtonItem alloc] initWithTitle:@\"Search\"

I create UIBarButtonItem using

UIBarButtonItem *previous = [[UIBarButtonItem alloc] 
                             initWithTitle:@"Search"
                             style:UIBarButtonItemStyleBordered
                             target:self
                             action:@select开发者_运维百科or(SearchAction:)];

how to change its style to black

best regards


Set the tint color of UINavigationBar to black.

0

精彩评论

暂无评论...
验证码 换一张
取 消