开发者

Multiple rowHeight values in UITableView?

Can I make each cell a different heig开发者_StackOverflow中文版ht in a UITableView? How so?


- (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath 


Yes you can. Just implement -tableView:heightForRowAtIndexPath: for your table view delegate, and return different heights for those cells.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜