我试图显示和隐藏的tableView与动画显示和隐藏的UITableView动画
“从左至右&从右到左的过渡”这是我已经厌倦了它的工作,但使用一个随机值后在CGRectMake,
不要任何人都可以帮我解决这个问题,请
-(void)Display:(UITableView *)tableView :(UIView *)view{
tableView.alpha=1;
[UIView animateWithDuration:0.35
animations:^{
tableView.frame = CGRectMake(-209, 440, 180, 209);
}
completion:^(BOOL finished){
[tableView setHidden:YES];
}
];
}
-(void)Hide:(UITableView *)tableView :(UIView *)view :(int)tb{
tableView.alpha=1;
[tableView setHidden:NO];
[UIView animateWithDuration:.45
animations:^{
tableView.frame = CGRectMake(3, 442, 180, 209);
}
];
}
请告诉我们你已经尝试了什么。 – Dave 2014-11-04 11:10:32
@Dave这里我已经累了 – fourthnovember 2014-11-04 11:29:54
@fourthnovember你说它在上面的帖子中有效。你的问题是什么? – 2014-11-05 18:31:08