Hide and show scrollview with animation
问题 In my app I have a scrollview and when I press a button it is hidden when I press again it shows up. I use scrollview.hidden = YES (or NO) to do it. But I want to do it with an animation. For example, it may disappear from the bottom of the screen by moving and shows up with the same way. How can I do that? edit: [UIView beginAnimations:@"myAnimation" context:nil]; CGRect Frame = bottomScroller.frame; if(Frame.origin.y == 380){ Frame.origin.y = 460; }else{ Frame.origin.y = 380; }