Discussion Forums  >  Images, Documents, File Locations

Replies: 1    Views: 119

manutd
Aspiring developer
Profile
Posts: 33
Reg: Apr 21, 2011
California
2,280
08/18/12 11:29 PM (13 years ago)

Changing the default directory to store files for BT app

Hi, If i am correct, currently BT apps store all the downloaded files in Documents directory and it results in automatic backup to the iCloud. I want to avoid this from being backed up. I was thinking of changing the default directory to something else. I looked into BT_filemanager.m where the path points to Documents directory. If we change occurences of NSDocumentDirectory with some other directory, will it serve my purpose? Please let me know. Also i don't see a directory called /tmp in the filesystem. Which is a good place to store the downloaded files which need not be backed up to cloud? thanks Venkat
 
manutd
Aspiring developer
Profile
Posts: 33
Reg: Apr 21, 2011
California
2,280
like
08/18/12 11:36 PM (13 years ago)
I am reading the guidelines document and which says that NSApplicationSupportDirectory is the one which should store support files needed by the application.
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.