Hi guys,
Need to change buttons on toolbar(UIToolBar) with animation.
I use next code:
As result nothing appear and without animation as well.
How to solve the problem?
Need to change buttons on toolbar(UIToolBar) with animation.
I use next code:
PHP:
UIBarButtonItem* item = [[UIBarButtonItem alloc] initWithTitle:@"test" style:UIBarButtonItemStylePlain target:nil action:nil];
NSArray* items = [NSArray arrayWithObject:item];
[_bottomToolBar setItems:items animated:YES];
As result nothing appear and without animation as well.
How to solve the problem?