修复下来刷新时,切换视图后的异常情况

This commit is contained in:
ylzheng
2015-11-16 22:08:39 +08:00
parent 3be26a0481
commit 55b09d3ec9
+5
View File
@@ -88,6 +88,11 @@ class StorysTableViewController: UITableViewController {
}
override func viewDidDisappear(animated: Bool) {
super.viewDidDisappear(animated)
endOfWork()
}
override func tableView(tableView: UITableView, numberOfRowsInSection section: Int) -> Int {
return posts.count + 1
}