views:

45

answers:

1

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?

+3  A: 

I would add it to the UIToolbar's items as a UIBarButtomItem. Instantiate it with [[UIBarButtonItem alloc] initWithCustomView:myLabel].

Mk12