Can't delete file on device
Can't delete file on device
- Subject: Can't delete file on device
- From: Rick Mann <email@hidden>
- Date: Mon, 26 Mar 2012 19:22:50 -0700
I'm trying to delete some image files I cache. Here's what I'm getting:
2012-03-26 19:20:14.330 MyApp[5765:707] File exists: /var/mobile/Applications/6BBF21B1-97B3-4016-88B0-FE1C18D736D7/Library/Caches/Images/4149/5414582865_932fac9c82_b.jpg
2012-03-26 19:20:14.332 MyApp[5765:707] Unable to delete file at /var/mobile/Applications/6BBF21B1-97B3-4016-88B0-FE1C18D736D7/Library/Caches/Images/4149/5414582865_932fac9c82_b.jpg: Error Domain=NSCocoaErrorDomain Code=4 "The operation couldn’t be completed. (Cocoa error 4.)" UserInfo=0x278590 {NSURL=/var/mobile/Applications/6BBF21B1-97B3-4016-88B0-FE1C18D736D7/Library/Caches/Images/4149/5414582865_932fac9c82_b.jpg}
{
NSURL = "/var/mobile/Applications/6BBF21B1-97B3-4016-88B0-FE1C18D736D7/Library/Caches/Images/4149/5414582865_932fac9c82_b.jpg";
}
This doesn't happen in the simulator. Xc4.3.2, iOS 5.1 9B176
Thanks,
Rick
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden