0
這是我的代碼。我升級到Xcode-beta 7後出現奇怪的編譯錯誤
var indexPath = self.tableView.indexPathForCell(cell)
self.tableView.beginUpdates()
self.tableView.reloadRowsAtIndexPaths([indexPath], withRowAnimation:.Automatic)
self.tableView.endUpdates()
我得到了以下編譯錯誤:
Use of unresolved identifier 'Automatic'
我試過UITableViewAnimation.Automatic。但也失敗了。
它有什麼問題?謝謝。
嘗試'UITableViewRowAnimation。 Automatic' – 2014-09-03 13:36:07