I have the following code to show a popoverview (dialog) without an arrow, which works fine. The only problem is, that the dialog is shown in the top left (IPad). I would li
Add the below mentioned line of code to make it centre.
popoverController.popoverPresentationController?.sourceView = view popoverController.popoverPresentationController?.sourceRect = view.bounds