Reputation: 125
How to make UIBarButtonItem with properties(Style: Bordered and Identifier: Custom ) click effect (like the UIButton selected state) ??
Upvotes: 0
Views: 608
Reputation: 816
UIButton *button = [UIButton button...];
...
UIBarButtonItem *barButtonItem = [UIBarButtonItem initWithCustomView:button];
Upvotes: 1