2016-07-15 3 views

答えて

0

セットの制約、その後のviewDidLoad

self.tableView.estimatedRowHeight = 170; 
self.tableView.rowHeight = UITableViewAutomaticDimension; 

にこの行を書き、

func tableView(tableView: UITableView, heightForRowAtIndexPath indexPath: NSIndexPath) -> CGFloat { 
     return UITableViewAutomaticDimension 
    } 
このデリゲートを使用します
関連する問題