Remove wrong observer when deinit

This commit is contained in:
chancyWu 2016-02-16 13:44:40 +08:00
parent 06699b84c0
commit cd188e1ec9
1 changed files with 1 additions and 1 deletions

View File

@ -123,7 +123,7 @@ public class TwitterPagerTabStripViewController: PagerTabStripViewController, Pa
}
deinit {
NSNotificationCenter.defaultCenter().removeObserver(self)
titleView.removeObserver(self, forKeyPath: "frame")
}
public override func viewDidLayoutSubviews() {