Approval error when reloading a View table using tableHeader TVOS

I am using UISearchController and I get this error after trying to reload data after filtering the content array. This does not happen if I set any other view than tableView tableHeaderView , like searchBar UISearchController . If I use any other view to search the search bar, everything works fine. Has anyone had this error, if so, what was the solution.

Validation error in - [UITableView _cellReuseMapForType:], / BuildRoot / Library / Caches / com.apple.xbs / Sources / UIKit_Sim / UIKit-3512.29.300.16 / UITableView.m: 3962 2015-11-15 15: 43: 34.166 AirMediaCenterTV [ 23894: 1052893] *** Application termination due to the uncaught exception "NSInternalInconsistencyException", reason: "attempt to access the reuse card for unknown view 4"

+6
source share
1 answer

I saw a similar tvOS crash issue, but I can't figure out what to fix. I do not use UISearchController . I removed all registerClass: calls from the UITableView and didn't seem to work.

-1
source

All Articles