PopoverPresentationController coming as nil
问题 Created a SingleViewApplication in that I have placed a button. Now clicking on button I need to display a tableView as popover. The TableViewController is created in xib. The issue is tableViewController.popoverPresentationController always comes as nil see below code let filterVC = TableViewController(nibName: "TableViewController", bundle: nil) var filterDistanceViewController = UINavigationController(rootViewController: filterVC) filterDistanceViewController.preferredContentSize = CGSize