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