融孚律师事务所官网:实现横向的tableView
来源:百度文库 编辑:九乡新闻网 时间:2024/04/25 16:27:05
n the view controller rotate the tableView in viewDidLoad:
-(void)viewDidLoad {
self.table.rowHeight = 320.0;
self.table.separatorStyle = UITableViewCellSeparatorStyleSingleLine;
// Rotates the view.
CGAffineTransform transform = CGAffineTransformMakeRotation(-1.5707963);
self.table.transform = transform;
// Repositions and resizes the view.
CGRect contentRect = CGRectMake(0, 90, 320, 300);
self.table.frame = contentRect;
self.table.pagingEnabled
= YES;
[super viewDidLoad];
}
ut you will have cell rotated 90°!!! I solved rotating cellView -90°
- (void)tableView:(UITableView *)tableView willDisplayCell:(UITableViewCell *)cell forRowAtIndexPath:(NSIndexPath *)indexPath
{
CGAffineTransform transform = CGAffineTransformMakeRotation(1.5707963);
cell.transform = transform;
}
实现横向的tableView
出奇制胜的横向思维
睡觉的诀窍--横向冲击
精美的横向背景素材
各国丝带的横向对比[图]
关于横向思维的七条箴言
关于横向思维的七条箴言
关于横向思维的七条箴言
关于横向思维的七条箴言
横向思维与逻辑思维的区别A[]
横向思维与逻辑思维的区别b[]
横向思维与逻辑思维的区别A1
横向思维与逻辑思维的区别b2
横向思维与逻辑思维的区别
谈西方的“横向民主”和中国的“纵向民主”
精致的横向圆角背景素材【20110315】
第186节:下降通道内的横向小通道
环保部门被“家丁化”考问权力的横向监督
word文档中插入的照片能横向排列吗?
[横向思维\中国式思维的六种境界之一
中国式思维的六种境界之横向思维
犹太商人:“横向思维”和“反向思维”的方法
歼20与美俄战机的横向对比
第六篇--用账篇(二)怎样进行会计报表的横向分析