tags:

views:

32

answers:

1

Hello guys,

As you knew, a iphone app has 4 directories: Application folder, Document, Library, tmp.

When app is installed in the first time, I want to:

  1. Create a list of directories in Document folder
  2. Import a list of images to each that directories.

I searched and found the way to create directory in Document folder by code.

[[NSFileManager defaultManager] createDirectoryAtPath:newDirectoryPath attributes: nil];

But following that way, user must create folder and import images by themself after installing app. I want my app do that.

Anybody know how to do it, please help me.

Thanks in advance! Tien

A: 

Hello guys,
I found out a solution for my situation. I mean that I want to create a list directory when app run at the first time. But now, I don't need to do it, I just need to add images to my resources folder and find the way to use them in interface builder.
Thanks you all for your attention and sorry for any inconvenient.
Regards,
Tien

White Money