How can I stop my iPhone from auto deleting app data left and right? I have noticed that an app I use has been requiring me to download tons of data whilst in the app despite there not being any new (internal, I.e. non-AppStore based) updates. As far as I can tell at some point in time, perhaps near the release of iOS 11, Apple added a new feature which causes iPhones to delete app data (documents etc.) partially or completely. I’ve seen a few people mention this online but I haven’t heard of any solution besides ”delete some data yourself” which doesn’t seem to always work either. Is there any way to disable this? Thanks in advance...
In iOS 11 you can have the system 'offload' rarely-used apps and their associated data.  In prior iOS versions, once an app is deleted all its data is deleted, too.  Now you can change that.

By default, this selection is turned on.  It's very simple to turn it off (and back on, if you want).  You can do this by individual app for the the entire device.  

Source:

Individual App


Go to Settings -&gt; General -&gt; iPhone Storage
Tap the app you want to offload





Tap Offload App and then confirm




Its documents and data will be stored on your device. And, when you reinstall the app, all of the data is automatically restored.

Automatically for the device


Go to Settings -&gt; General -&gt; iPhone Storage
Tap on Enable next to Offload Unused Apps




That's all you need to do.  If you don't want this to be done automatically any more, simple disable the selection.