tags:

views:

697

answers:

3

Hi all,

I need to use the NSFileManager class in my own iPhone app...Before that I would like to know whether it would be supported in iPhone???Can anyone help me???

Thanks in advance,

Syam

+6  A: 

Have you tried RTFM?

Andrew Medico
Hey Sreelai, according to the SO guidelines, there are no 'stupid questions.' I was concerned about it too after reading some external 'cookbook' docs, so the question is valid and the answer is 'yes' it is supported and lots of apps are using it.
mobibob
+3  A: 

It's supported. Its one of the main ways to open and save files that are outside the app bundle

A: 

wow , it means that we can access any other file outside of our application bundle.. right ?

First off, post questions to answers as comments, not as your own answer. Second, no, Apple sandboxes applications - you're not allowed to use NSFileManager to touch OS files or files belonging to other apps. You are, however, allowed to mess with files in your app's Documents directory and the like.
Tim