0

How can i programatically rename resources in AppBundle.Need to resave or rename the images which are stored in AppBundle with a user given name.

Vipin
  • 4,718
  • 12
  • 54
  • 81

2 Answers2

2

Your app bundle is immutable, you may not change it. You would need to copy the files to the app's Documents folder or its Library folder.

Community
  • 1
  • 1
DarkDust
  • 90,870
  • 19
  • 190
  • 224
0

You can try this....

NSString* your_path = [NSSearchPathForDirectoriesInDomains(NSLibraryDirectory, NSUserDomainMask, YES) objectAtIndex:0];
Anish
  • 2,889
  • 1
  • 20
  • 45