Greetings:
In WinDev Mobile, I'm displaying a window that is only shown briefly (it's used as a loading screen).
If I call Close() too quickly (within a few seconds) after opening the window, it won't close and Xcode shows a runtime error:
Warning: Attempt to dismiss from view controller while a presentation or dismiss is in progress!
If I place an Info() directly above the Close(), then the window will close without a problem after the dialog is dismissed.
I tried using TimerSys() to wait a few seconds to close the window and it didn't work.
This happens in both WM20 and WM21 after compiling the iOS app and running it in the Xcode Simulator.
Has anyone else encountered this or does anyone have any advice? I appreciate the assistance!
In WinDev Mobile, I'm displaying a window that is only shown briefly (it's used as a loading screen).
If I call Close() too quickly (within a few seconds) after opening the window, it won't close and Xcode shows a runtime error:
Warning: Attempt to dismiss from view controller while a presentation or dismiss is in progress!
If I place an Info() directly above the Close(), then the window will close without a problem after the dialog is dismissed.
I tried using TimerSys() to wait a few seconds to close the window and it didn't work.
This happens in both WM20 and WM21 after compiling the iOS app and running it in the Xcode Simulator.
Has anyone else encountered this or does anyone have any advice? I appreciate the assistance!