Add the code below and it works fine:
lawchingman opened this issue · 0 comments
lawchingman commented
Add the code below and it works fine:
- (void)viewDidDisappear:(BOOL)animated {
[super viewDidDisappear:animated];
// fix: iOS 10 crash
[self.KVOControllerNonRetaining unobserveAll];
}
_Originally posted by @AlfyYan in https://github.com/facebook/KVOController/issues/140#issuecomment-575550115_