Why I am getting an error like this? In my appicaction I am loading webview inside a table view.
*** Assertion failure in -[UITableView _createPreparedCellForGlobalRow:withIndexPath:], /SourceCache/UIKit_Sim/UIKit-1914.84/UITableView.m:6048
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'UITableView dataSource is not set'
In my case, it was a DatePicker throwing the error when I set it's .date property in viewDidLoad. When I moved the code to viewDidAppear, the issue gone.
This error happen only in iPhone 4s, not other later models, iPhone nor iPad.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With