标签: iphone objective-c uibarbuttonitem
如何使UIBarButtonItem具有属性(Style:Bordered and Identifier:Custom)单击效果(如UIButton选择状态)??
答案 0 :(得分:1)
UIButton *button = [UIButton button...]; ... UIBarButtonItem *barButtonItem = [UIBarButtonItem initWithCustomView:button];
See apple's documents