I am new to IOS development and I have a basic UITableView with rows to display data. The problem I am facing is that UITableView is not reacting to the landscape orientation.
I have the following code which does not work:
override func willTransition(to newCollection: UITraitCollection, with coordinator: UIViewControllerTransitionCoordinator) {
self.tableView.reloadData()
}
I find it quite tricky to find solution on the internet.
Thanks for your help.