ios - Show and hide UITableView with animation -


I am trying to show and hide a table view with an animation "transition from left to right and left" P>

This is what I was already tired, but after using random values ​​in CGRactMac,

Anyone can help me fix it

< Pre> - (zero) display: (UITableView *) tableview: (UIView *) see {tableView.alpha = 1; [UIView animated disk: 0.35 animation: ^ {tableView.frame = CGRectMake (-20 9, 440, 180, 209); } Closing: ^ (BOOL Finish) {{tableView setHidden: Yes]; }]; } - Hide (zero): (UITableView *) TableView: (UIView *) View: (int) TB {tableView.alpha = 1; [TableViewSet: No]; [UIView Animative Withdrawn: .45 Animation: ^ {tableView.frame = CGRectMake (3, 442, 180, 209); }]; }

You can use this code:

 [Code] [UIView transitionFromView: firstView toView: secondView // table view duration: 0.5 options: UIViewAnimationOptionTransitionFlipFromLeft termination: ^ (BOOL end) {[firstView.superView addSubview: secondView]; [FirstView.SuperViewSubview: First view]; }];  

Comments

Popular posts from this blog

apache - 504 Gateway Time-out The server didn't respond in time. How to fix it? -

c# - .net WebSocket: CloseOutputAsync vs CloseAsync -

c++ - How to properly scale qgroupbox title with stylesheet for high resolution display? -