I just compiled and installed my iOS app for the first time in release mode - all went well and the app runs fine. But, my app's first page is the login page and then after the login, the user is taken to the main menu. The login page showed the first time I ran the app in release mode but that was the only time the login page showed. With each subsequent run of the app, the app goes directly to the main menu. I suppose this is because on the login page I use this code "B4XPages.ShowPageAndRemovePreviousPages("Main Menu")" to go to the main menu. I had thought when I exited the app by pressing the "Home" button on my test iPhone, the app was killed but it is apparently still running in the background.
Is there a workaround or fix for this or do I need to allow the user to go back from the main menu to the login page - which I don't really want to do?
Is there a workaround or fix for this or do I need to allow the user to go back from the main menu to the login page - which I don't really want to do?