file access and sandbox



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


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


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


You may also like...

Comments are closed.