Reputation: 77
I am developing an ipad app using Flex (Adobe Air, Flash Builder). I understand that in objective-C, you can get the writable directory using NSDocumentDirectory, but how do you do the same in Flex??
In Flex, I use File.applicationStorageDirectory, and it works only when I run in the simulator. If I install the app on my ipad, it doesn't give any error, but I don't think it works. Please help!!
Upvotes: 0
Views: 232
Reputation: 39408
I would have guessed File.applicationStorageDirectory. In fact, I have successfully used that to create an SQLLite database on iOS. I'm not sure why it wouldn't be working.
You may try File.userDirectory.
Upvotes: 3