Reputation: 60899
I have a UILabel that shows a character count as the user types into a textfield. Currently it is sitting behind a translucent UIToolbar. I would like the UILabel to be ontop of the UIToolbar. How can I accomplish this?
Upvotes: 2
Views: 589
Reputation: 26394
I would add it to the UIToolbar
's items as a UIBarButtomItem
. Instantiate it with [[UIBarButtonItem alloc] initWithCustomView:myLabel]
.
Upvotes: 5