【发布时间】:2011-03-21 21:23:37
【问题描述】:
我有标准 UIBarButtonItem
UIBarButtonItem *share = [[UIBarButtonItem alloc] initWithBarButtonSystemItem:UIBarButtonSystemItemAction target:self action:@selector(share:)];如何将她添加到 UIToolBar?我试过了
self.toolbarItems = [NSArray arrayWithObject:share];但它不起作用。需要你的帮助。
【问题讨论】:
标签: objective-c xcode ios uibarbuttonitem