I have a couple of iOS apps that use the modal view implemented with declares following the example in the documentation, e.g.
[code]Var v As New ModalView
// Display ModalView modally
Declare Sub presentViewController Lib “UIKit” _
Selector “presentViewController:animated:completion:” _
(parentView As Ptr, viewControllerToPresent As Ptr, animated As Boolean, completion As Ptr)
presentViewController(Self.Handle, v.Handle, True, Nil)[/code]
As the documentation says, a button is needed to close a modal view … until now (2019r3 is the first time I noticed the change). In apps compiled with r3 (and running in iOS 13), the user can now just swipe downwards on the view to dismiss it. No more button tap necessary…
I like this new functionality though it does create some interesting new decisions for the programmer who put all of the closing code into a button in previous version. I hope that the view is actually getting closed with this new downward swipe and not just left in limbo off-screen using up memory.
Didn’t see this in the release notes (though I may have missed it). Any gotchas one should be aware of?