mirror of
https://github.com/wahyd4/libr-ios.git
synced 2026-08-09 05:06:46 +10:00
修复下来刷新时,切换视图后的异常情况
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user