How many BarButtonItems can be added to UInavigationController [closed]
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this questionHow can i add 4 barbuttoni开发者_如何学编程tems to uinavigation controller? If i can add then how?
Finally i find the answer... First of all i created the toolbar, numbers of buttons that i need programmatically. and added those buttons in NSMutableArray. Finally i add this array to my my toolbar item and add it to my view.
That worked perfectly for me. Actually number of button that we add on toolbar depends on the width of UIToolbar. We can add either two, three or four buttons to it if it's within the given width of toolbar. But according to apple reference we should add max two button on it.
精彩评论