I've looked at other UITableView questions, but did not find any that matches this scenario.
I have a normal UITableViewController that accepts an array from a search form (IOW, dynamic data). The form has a push segue to the table VC, and the table cells have another push segue to a 'details' type of screen for each item. In the table view, I call reloadData in viewDidAppear.
The first time I test the search, the table displays the "no results" view (in a screen-wide cell) that I programmed into it, but only for about 1 second. After that, the search results appear as expected and the navigation works fine.
How can I get rid of this initial glitch?
EDIT: (@Paulw11's request) The search operation is network-based, and I call performSegueWithIdentifier in the dispatch_get_main_queue block. The data is passed in prepareForSegue as an NSArray (with multiple items per index).
niloptional array) and return 0 for number of rows in the latter case. You should edit your question to show your code in order to get a better answer