iOS Question Page lost Focus but code still running

rossco_pb

Member
Licensed User
Longtime User
Just trying to get my (old) head around working with pages as opposed to B4a activities as I have my first B4i app with a couple of pages and had a timer on the first page that keep on firing and executing code even though I had changed focus to the second page. In Android the switching activities would have limited the execution to the active one but it appears in iOS the page that is not in focus also continues to execute... Is this correct? Thanks
 

rossco_pb

Member
Licensed User
Longtime User
Cheers Erel and thanks for confirming that and as you advised I have used the Appear and Disappear events to turn the "rogue" timer off as part of changing focus. Was a bit confusing given the pages are in different modules...
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…