Does iPhone has mechanism like registry ?
Hi Guys,
Does iPhone has mechanism like windows registry to store the state of the application?
How generally you save the state of the application when user exit from the application?
1 Answer
-
Use 'properties' which get stored in between launches of an app.
eg:
to store a value as a property called 'some_property' :
Ti.App.Properties.setString('some_property','some value');
then to get the value again:
var theStoredValue = Ti.App.Properties.getString('some_property');
hth