-1
NSArray *ary=[[NSArray alloc]initWithObjects:bar_back_1,bar_btn,bar_btn1,nil];
// UIImage *img_whiteleftbtn=[UIImage imageNamed:@"img_arrow_white"];
// UIBarButtonItem *bar_leftbtn=[[UIBarButtonItem alloc]initWithImage:[img_whiteleftbtn imageWithRenderingMode:UIImageRenderingModeAlwaysOriginal] style:UIBarButtonItemStylePlain target:self action:nil];
// self.navigationItem.leftBarButtonItem=bar_leftbtn;
self.navigationItem.rightBarButtonItems=ary;
在iphone4中,我们要在右侧设置三个导航项.....如何可能?如何减少导航栏项目之间的空间?
I'm experiencing excessive UIBarButtonItem padding/spacing when using the LeftBarItems and RightBarItems (see image below). The icons used on the UIBarButtonItems do not contain extra padding. So I would like to know what's causing this?
的可能的复制[如何调整rightBarButtonItems 2的UIBarButtonItem之间的空间(http://stackoverflow.com/questions/22741824 /如何调整空间之间的两个按钮右上角按钮项) – ToolmakerSteve 2017-03-18 01:19:22
http://stackoverflow.com/questions/22741824/how-to-adjust-space-between-two- uibarbuttonitem-in-rightbarbuttonitems,已接受答案,2015年7月更新。 – ToolmakerSteve 2017-03-18 01:19:52