TabelView3D效果 (个人认为很丑)
只需在tableView 方法中加下面的方法
(void)tableView:(UITableView )tableView willDisplayCell:(UITableViewCell )cell forRowAtIndexPath:(NSIndexPath *)indexPath {
// 参数1:旋转角度
// 参数2:X轴
// 参数3:Y轴
// 参数4:Z轴
CATransform3D rotation = CATransform3DMakeRotation(90 * M_PI / 180, 1, 1, 1);
[[cell layer] setTransform:rotation];
// 动画开始
[UIView beginAnimations:nil context:nil];
// 动画时长
[UIView setAnimationDuration:1];
[[cell layer] setTransform:CATransform3DIdentity];
// 动画结束
[UIView commitAnimations];
}