自定义单元格,setCenter,在ios7.0 ios7.1中效果不同

时间:2014-04-16 10:41:07

标签: ios7

-(void)tableView:(UITableView *)tableView willDisplayCell:(UITableViewCell *)cell forRowAtIndexPath:(NSIndexPath *)indexPath {
CustomCell *atCell = (CustomCell *)cell;
[atCell addCellWith:0 Y:self.view.frame.size.height];
[animationArr addObject:atCell.title.text];
}


-(void)addCellWith:(float)x Y:(float)y {
atcContentView.center = CGPointMake(x, y);

[UIView animateWithDuration:0.5 animations:^{
    self.center = CGPointMake(0, 0);
}];
}

我希望它像ios7.1一样 这对ios7.0的影响与ios7.1不同。我该如何解决? 帮助我,谢谢

0 个答案:

没有答案