Objective c 使之成为一个看不见的维吾尔人
我可以在UIToolbar上制作一个不可见的UIBarButtonim,插入XCode/Storyboard?Objective c 使之成为一个看不见的维吾尔人,objective-c,xcode4,Objective C,Xcode4,我可以在UIToolbar上制作一个不可见的UIBarButtonim,插入XCode/Storyboard? 我找到了一个属性来禁用它:enabled=NO,但没有使其不可见请在这个链接中查看我的答案 NSMutableArray *items = [YourToolBar.items mutableCopy]; [items removeObject:BarButton]; YourToolBar.items = items; [items release];
我找到了一个属性来禁用它:enabled=NO,但没有使其不可见请在这个链接中查看我的答案
NSMutableArray *items = [YourToolBar.items mutableCopy];
[items removeObject:BarButton];
YourToolBar.items = items;
[items release];