I am new to mac os x programming. Here, is what I wanted to do.
I just wanted to access(read/write) files/images in user's desktop folder. My app is sandboxed app.
To access desktop folder, I wanted to ask for user's permissions.
The one way that I found is using NSOpenPanel
but the problem is, it allows any user selected folder's access, whereas I don't want permission for any other folder, I just want to have permission for desktop folder, If user allows then should be able to access files from desktop and if user denies, then ignore given operation.
Can somebody given me solution to access/ask for permission for only single specific folder(not user selected) on mac os?