ios - UIToolbar at the bottom of container view -
i'm making app parallax effect. use qmbparallaxscrollviewcontroller
, , created 2 child views.
what need have uitoolbar
@ bottom of view, user can scroll have bar.
if use in scroll detail child view, @ bottom of scroll. put in detail view controller root view, when child view enter container, bar behind.
what can have @ bottom , front?
i find answer
it's not necessary add toolbar. navigation controller have default, hidden. show it:
- (void)viewwillappear:(bool)animated { [self.navigationcontroller settoolbarhidden:no animated:yes]; } - (void)viewwilldisappear:(bool)animated { [self.navigationcontroller settoolbarhidden:yes animated:yes]; }
Comments
Post a Comment