User application settings appropriate information where to save it?
Write an application, the basic function has been achieved, the current information on the user settings and download data preservation issues into question.
Information about the investigation, referring to the way information can be saved:
1 @ Document
2 Settings package
3 SqlLite
According to my understanding, the downloaded data is saved in the Document, the user settings are saved in Settings, and I wonder if appropriate? Heroes were pointing.
In addition. Thought business needs, you may download a large number of text files and image files, then the @ Document in support multiple folders stored? Another APP Stroe audit will not be a problem? (Downloaded file may be much larger than the application itself)
Reply:
@ Document in support multiple folders stored? Support
Reply:
Best to use NSUserDefaults to store;
In the document directory remove applications, probably because of lost reinstall the application settings.
Reply:
User configuration information on the Preferences under the proposal, the package can be
method using NSUserDefaults standardUserDefaults
The files do not fit in too much under the document such as a video, etc., because iCloud document may be in the backup.
Reply:
No comments:
Post a Comment