file access and sandbox

Hello

 

I had an application which access pdf files in some locations and launch acrobatread by opening the file:

workSpace().openFile(filename)

this worked fine

 

I had to sandbox my application, in order to access contacts and the pdf fiels cannot be opened anymore, because they are not readable

bRes = manager.fileExists(atPath: filename) returns true

but

bRes = manager.isReadableFile(atPath: filename) return false

 

when I inspect my file, it has read/write privileges for everyoneI don’t undesrtand what I am missing?

Powered by WPeMatico

About

You may also like...

Comments are closed.