Just noticed with iOS 16 the AGSPopupsViewController is not working correctly. I have a UINavigationController displaying in a popover view with a table view of map features. Clicking on a feature will push theAGSPopupsViewController for the selected feature. This worked fine until iOS 16. Now after the AGSPopupsViewController is pushed, the popover view jumps randomly to a different point. Anyone else experiencing this?
Basic code snippet that is not working:
let popupsViewController = AGSPopupsViewController(popups: item.popups, containerStyle: .navigationController)
popupsViewController.modalPresentationStyle = .formSheet
popupsViewController.preferredContentSize = CGSize(width: 500, height: 600)
popupsViewController.modalPresenter = self.tappedFeatureNavController?.topViewController
popupsViewController.delegate = self
// Present the popup.
// NOTE: Bug with iOS 16 breaks popover causing it to lose its anchor point and get cut off.
self.tappedFeatureNavController?.pushViewController(popupsViewController, animated: true)