Hello,
I have a Button which popups a modal form:
MyView2.ViewController.setModalPresentationStyle(UIModalPresentationFormSheet);
MyView2.ViewController.setPreferredContentSize(MyView2.View.frame.size);
MyView1.ViewController.presentViewController(MyView2.ViewController, true, MyView2Init);
In earlier versions of IOS this form was modal, meaning that it would not close when clicking on the main window (here MyView1) at the background.
With current IOS 14 when clicking the background, the form disappears and leaves it in an undesired state.
How can I get the modal behavior back?
Best Regards and Thanks in advance!