Many if not all the MobGui native iOS controls have an auto destroy checkbox.
Is it best practice to turn this on?
It is a little confusing, why do you need to destroy the control when leaving the card? and if we set it to auto destroy will another get automatically created when we come back to the card? When does it get destroyed?
anyone have any basic information about how MobGui handles creating and destroying native iOS controls?
Coffee16
auto destroy on MobGui native iOS controls
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- VIP Livecode Opensource Backer
- Posts: 219
- Joined: Mon Dec 05, 2011 5:35 pm
- Location: Kanagawa, Japan
-
- Livecode Opensource Backer
- Posts: 66
- Joined: Fri Mar 15, 2013 3:54 pm
- Location: Jackson Hole, Wyoming, USA
Re: auto destroy on MobGui native iOS controls
Well, I found this bit of information:
The 'Auto destroy on closeCard' option was added in case the app needs to free up resources used by the [control] when the card it was created on is closed. The default action is to hide the [control], meaning it can be used again by simply showing it.