Hai All,
I haven't jump into the next video, but in case you're experiencing a blank page issues on Search Page like me, I've found a solutions.
Step to reproduce:
1. Run our project on simulator / on devices.
2. Type any text on Search fields, do not tap Cancel button.
3. Move to another page (let say Favorites page) and than go back to Search page, you'll see that the Search page becomes blank.
To solve that issue, I just added definesPresentationContext and set it to true, at the setupTableView function.
--
Here's the code snippet:
------------------------------------
// PodcastSearchController.swift
------------------------------------
...
fileprivate func setupTableView() {
tableView.tableFooterView = UIView()
let nib = UINib(nibName: "PodcastCell", bundle: nil)
tableView.register(nib, forCellReuseIdentifier: cellId)
self.definesPresentationContext = true
}
...
I hope the solution is work for you also.
But again, probably on the other video, Brian already have the solutions. Will check it out soon.
Thanks,