Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何使 UIBarButtonItem 具有属性(样式:边框和标识符:自定义)单击效果(如 UIButton 选择状态)?
UIButton *button = [UIButton button...]; ... UIBarButtonItem *barButtonItem = [UIBarButtonItem initWithCustomView:button];
查看苹果的文档