Sunday, 15 January 2012

iphone sdk 3.0 - Is it possible to hide a UIToolbar with an animation? -


I know this code is only available for UINavigationController .

  [self Navigation controller set navigation bar: yes animated: yes]; An example using blocks will hide a toolbar at the top of an iPad screen.  

.

  [UIVive Animated Width: .7 Animation: ^ (Zero) {CGRact ToolbarFrame = Self Toolbar.frame; ToolbarFrame.origin.y = -44; // iPad Toolbar runs on the off screen. Tollbar Frame = toolbar frame; } Closing: ^ (BOOL Finish) {self.toolbar.hidden = yes; }];  

No comments:

Post a Comment