2016-05-19 5 views

答えて

0

がtableView.insertRowsAtIndexPaths前
tableView.beginUpdates()
そしてinsertRowsAtIndexPaths
tableView.endUpdates()

例後を追加しようと発生していない何らかの理由で

enter image description here

tableView.beginUpdates() 
tableView.insertRowsAtIndexPaths(indexPath, withRowAnimation: .Bottom) 
tableView.endUpdates() 
+0

".Bottom"アニメーションではうまくいきませんでしたが、上の ".None"アニメーションを変更してアニメーションを与えて、そのアニメーションを再生します。私はまだ他の人がなぜ動かないのか分かりません – walton

関連する問題