What does “Cleaning…” mean on iOS 5?

After upgrading compatible iDevices to iOS 5, many have been asking what it exactly means when an app is “cleaning…” itself. If you don’t know what it looks like, here is a screenshot of my iPad that I took today: 

Photo_2011-11-23_5_52_08_pm

Simply put, iOS 5 is clearing the contents of the Caches and tmp directory. Every iOS app has its own home directory where it stores files. Every file that an app puts there gets backed up when you sync your device, with the exception of anything inside the Caches and tmp directory. With iCloud backup in mind, Apple designed iOS 5 to keep an eye on apps that store too many files in any backed-up directory and to delete any non-crucial, non-user-generated files that may have found its way into the said home directory.

Many developers have recently received emails from Apple like this:

In recent testing it appears that [your app] stores a fair amount of data in its Documents folder.

Since iCloud backups are performed daily over Wi-Fi for each user’s iOS device, it’s important to ensure the best possible user experience by minimizing the amount of data being stored by your app.

In addition to purchased music, apps, books, Camera roll, and device settings, everything in your app’s home directory, including its Documents folder, is backed up to iCloud.

Data stored in the application bundle itself, the caches directory, and the temp directory is not backed up to iCloud. Your app should store data in these locations according to the iCloud Data Storage Guidelines on <http://developer.apple.com/icloud/documentation/data-storage/>.

Please review these guidelines, make any required changes to your app, and submit an update to the App Store.

While this originally posed serious problems for apps that relied on their home directories to provide contents offline (that is, contents saved for offline viewing getting deleted by iOS), many have already issued updates to resolve this problem.

“Cleaning…” simply means that your iOS 5 device is clearing out temporary files to recover storage space from greedy and/or poorly designed apps, and really is nothing to worry about in terms of your iOS device working as it should.

Advertisements
    • Dan F.
    • March 16th, 2012

    Nice post I’ve gotta say but here’s one thing I keep thinking as I look at your screenshot.

    “Oh I see.. Wait a minute.. *begins to yell at computer screen* Hey!! Hey you!! Hey you!!! You’re not supposed to have that many icons on your dock! Does the iPad just have the capabilities to do that or is it a tweak or mod you have on? Did you turn your device sideways and lock it into it? I see you have rotation lock on so that’s impossible…”

    • L
    • April 2nd, 2012

    You are allowed to have up to six icons in your iPad dock
    @Dan F.

    • Aman
    • June 5th, 2012

    Yes in the iPad you can have upto 6 icons on the dock. Although looking slightly tight portraight it’s suited well whilst landscape. I personally have 5 so it’s best of both worlds

  1. I infrequently make feedback, however I looked at the vast majority of statements here on What does “Cleaning…” mean on iOS 5?
    | Samuel’s Techno-log but had a couple of questions for you if you do not mind. Could it possibly be just me or do several of these remarks seem as if they are just plain generated from really moronic persons? As well, if you are posting on some supplemental blogs, Let me keep up with you. Can you put up a list of all of your current social media sites such as your linkedin profile, Facebook page or twitter feed?

    • Jaimee Henshaw
    • March 9th, 2014

    can you tell me what does cleaning mean… This is for my year 12 food and i really need to know. Could you give me a list of different ways for cleaning and sanitising. i would be greatful.
    Jaimee Henshaw

  2. Thanks , I’ve just been looking for info approximately this subject for ages and yours is the greatest I have
    found out till now. But, what concerning the conclusion?
    Are you sure about the source?

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: