Reputation: 14904
I have a little strange problem, that i am unable to reload a UITableView in a Popover. I have a function which i call from my parent View Controller but it always crashes with the error ... found a nil value
- but how can be my UITableView be nil?
So with this code shown in my screenshot i'll always get "its nil" in my console. But why?
Upvotes: 0
Views: 160
Reputation: 913
In viewWillAppear the view isn't visible yet, so if you reload your data there then it should work. I would try moving the call to reload the table to viewWillAppear to see if that solves the issue or not
Upvotes: 1
Reputation: 137
It's have to be Files owner, don't why it's showing File download handler view controller. make it fileowner, it will work
Upvotes: 0