Reputation: 191
is it possible to create a UIToolBar
containing UIBarItems
with both, images and titles for better explaining the function behind the item? A UITabBar
is designed to select 1 of n items. The current item is highlighted. This is not what I need. I'm needing to call a function without selecting the current toolbat item!
Upvotes: 0
Views: 1641
Reputation: 4740
I am not sure I undertand the question, but if you want to add an image to the UINavigationBar Button then you cannot do that. You can however, add a background image to this button and pad your text with spaces: http://discussions.apple.com/thread.jspa?threadID=1649012&tstart=0
Edit: also see this: Creating a left-arrow button (like UINavigationBar's "back" style) on a UIToolbar
Upvotes: 1
Reputation: 1297
i may be understanding your question wrong, but isn't that the default behaviour of UITabBar?
EDIT: w. comments
It wouldn't be too hard to subclass UIViewController with a UIView containing UIButtons & UILabels to suit your needs.
Upvotes: 0
Reputation: 46718
No. The toolbar is not designed to have both an image and a text tag.
Upvotes: 1