How to store user choice?


#1

Hi all, I need to memorize/store user choice from my options page.

Is there a “good” way to do this in ionic or I need to create all from 0 ? LocalStorage ?

And for Apple App are there some guide lines to follow ?

M.


#2

The best way is tu use locale storage with angular, i use this module:
https://github.com/grevory/angular-local-storage


#3

If you mean general guidelines for developing an apple app, then yes, there are lots! Have a read of these:

https://developer.apple.com/library/ios/documentation/userexperience/conceptual/mobilehig/

https://developer.apple.com/app-store/review/

If you just mean for storage, then no, there’s no difference in using local storage in iOS or Android (that I’m aware of anyway). The good thing about using local storage for settings on ios is that it can be backed up to iCloud.