Re: initFileURLWithPath run on emulator, not run on device

2012-01-30 Thread David Duncan
On Jan 30, 2012, at 10:50 AM, Stephen J. Butler wrote: > On Mon, Jan 30, 2012 at 9:57 AM, Riccardo Barbetti > wrote: >> I have a problem, after that I had write and test code on simulator, today I >> have work on device. > > I'm skeptical because... > >> In my program I save my NSArray: >> >>

Re: initFileURLWithPath run on emulator, not run on device

2012-01-30 Thread Franck Zoccolo
Le 30 janv. 2012 à 16:57, Riccardo Barbetti a écrit : > I have a problem, after that I had write and test code on simulator, today I > have work on device. > > In my program I save my NSArray: > > >NSArray *paths = > NSSearchPathForDirectoriesInDomains(NSSharedPublicDirectory, > NSUserDo

Re: initFileURLWithPath run on emulator, not run on device

2012-01-30 Thread Stephen J. Butler
On Mon, Jan 30, 2012 at 9:57 AM, Riccardo Barbetti wrote: > I have a problem, after that I had write and test code on simulator, today I > have work on device. I'm skeptical because... > In my program I save my NSArray: > > >    NSArray *paths = > NSSearchPathForDirectoriesInDomains(NSSharedPu

initFileURLWithPath run on emulator, not run on device

2012-01-30 Thread Riccardo Barbetti
I have a problem, after that I had write and test code on simulator, today I have work on device. In my program I save my NSArray: NSArray *paths = NSSearchPathForDirectoriesInDomains(NSSharedPublicDirectory, NSUserDomainMask, YES); NSString *documentsDirectory = [paths objectAtI