On Sun, Mar 2, 2014, at 07:26 PM, Damien Cooke wrote:
> For completeness sake.  I thought I would share the answer.  I realised
> that this was a good problem when I saw others were complaining about the
> same thing with no answers, it turns out that when capturing the video,
> iOS stores these files in the /tmp directory and does not remove them
> immediately or when app is restated or even the phone is restarted for
> some reason.  So I cleared this out also after the video is marked for
> upload and the problem is completely resolved.

As per the iOS App Programming Guide, this is intentional. /tmp is a
safe place to put work in progress that you don't want backed up, but
you also don't want to lose. Therefore, it's your responsibility to
clean it out. This is in contrast to the contents of /Library/Caches,
which the system will automatically clean up when it deems fit or
necessary, and thus is not a safe location for anything that cannot be
recreated.

https://developer.apple.com/library/ios/documentation/iphone/conceptual/iphoneosprogrammingguide/PerformanceTuning/PerformanceTuning.html

--Kyle Sluder
_______________________________________________

Cocoa-dev mailing list ([email protected])

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to