Hello,
I am a total beginner with corona so bear with me…
I am writing an app that has an admin section, to access the admin section, from main.lua I first call the home scene, in this scene there is a little icon that the users click. Upon clicking this action the user lands on password.lua, which is an intermediary scene where I ask the user to enter a password to access the admin area. If the password is correct then they are sent to admin.lua.
In the exitScene event of the password scene I am removing the native text field by using:
txtPasscode:removeSelf()
txtPasscode = nil
as explained in the documentation. So far so good, the problem is that if I then return home and press the admin button again, I am again taken to the password scene but this time there is no text field, it vanishes.
If I comment out the code to remove the txtPasscode field then it remains visible in subsequent screens.
I’ve been struggling with this for days and would appreciate any help.
thanks in advance. [import]uid: 170811 topic_id: 32778 reply_id: 332778[/import]