Animation of UINavigationController's UIToolbar
Posted
by Michael Waterfall
on Stack Overflow
See other posts from Stack Overflow
or by Michael Waterfall
Published on 2010-06-13T19:40:55Z
Indexed on
2010/06/13
19:42 UTC
Read the original article
Hit count: 249
iphone
When presenting a view controller that has toolbar items, is it possible for the toolbar to slide in with the view controller (i.e. slide in from the right) as opposed to it sliding from the bottom?
In the view controller that is being presented, I've got the toolbar being shown within the -viewWillAppear: method, but the toolbar is being slid up from the bottom of the screen as opposed to it looking like it belongs to the view controller.
- (void)viewWillAppear:(BOOL)animated {
[self.navigationController setToolbarHidden:NO animated:YES];
...
}
© Stack Overflow or respective owner