Hello.
There is a view that with the help of animation comes up from behind the screen. There are buttons on it that should move with this view. Actually, how to make these buttons?
The view is animated as follows. There is a variable draw, if it == 1, then the view is removed, if 0, then the view floats back to the screen. When you click on a specific button occurs:
[UIView beginAnimations: nil context: nil]; [UIView setAnimationDuration:0.5]; [UIView setAnimationDelay:0]; myView.frame=CGRectMake(menu_x,menu_y,menu_width,menu_height-150*draw); [UIView commitAnimations]; draw=!draw When animating the view, the buttons remain in place. And how to make them move with the view?