//Xcode6.3以后label自适应需要添加两个属性

    _tableView.rowHeight = UITableViewAutomaticDimension;

    

    //给予预计行高

    _tableView.estimatedRowHeight = 44;

posted on 2015-10-29 11:39  拿起放不下  阅读(201)  评论(0编辑  收藏  举报