iOS Question CustomLayoutDialog and page_disappear

schimanski

Well-Known Member
Licensed User
Longtime User
I use CustomLayoutDialog in my project and now i have mentioned, that if the dialog is opened and the home-button will be pressed, the opened layoutdialog prevents the app from calling the page_disappear sub. Is there a work around for that behavior?

I want to close the dialog, when the user presses the home-button, but it could not be in application_background because of switching from navcontrol to tabcontrol when starting the app again.

Thanks for help...
 
Last edited:

schimanski

Well-Known Member
Licensed User
Longtime User
I'm using the dialog in navcontrol. If the app will be opened again from background to foreground, I always start in tabcontrol. When the app is in navcontrol and the dialog is opened and then pressing the homebutton, the app starts in tabcontrol. After switching from tabcontrol to navcontrol, the page is no longer reachable. It seems, that the system handles an open dialog, but the dialog is not visible.
When I close the dialog in application_background and start again the app in tabcontrol, the app jumps shortly to navcontrol and then back to tabcontrol. That works, but didn't looks professional.
 
Upvote 0
Top