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.
我可以在 UIToolbar 上制作一个不可见的 UIBarButtonItem,插入 XCode / Storyboard?我找到了一个禁用它的属性:启用 = NO,但没有使其不可见
NSMutableArray *items = [YourToolBar.items mutableCopy]; [items removeObject:BarButton]; YourToolBar.items = items; [items release];