반응형

NSMutableArray *toolbarButtons = [self.toolbarItems mutableCopy];

// 툴바 버튼 숨기기.   
[toolbarButtons removeObject:self.bbi_cancel];
[self setToolbarItems:toolbarButtons animated:YES];


// 툴바 버튼 보이기.

if (![toolbarButtons containsObject:self.bbi_cancel])

{

[toolbarButtons addObject:self.bbi_cancel];

[self setToolbarItems:toolbarButtons animated:YES];

}


반응형
Posted by 컴스터
,