There are plenty of answers on how to delete NSDocumentDirectory via code. Unfortunately, that's not what I'm looking for here.
I need a way to delete this from the device. Is there any way short of wiping the entire device and setting it up as a new device?
Deleting the app itself does not delete the NSDocumentDirectory for the application.
1) Will wiping the entire device and setting it up as a new device remove the NSDocumentDirectory?
2) Is there an easier and less costly way than #1 to remove this data off the device, via the device itself?
The
NSDocumentsDirectory
for an iOS application is stored within it's sandbox environment and will be removed when you delete the app from your device.In iOS 9 you can see the individual storage of each app by going to Settings -> General -> Storage & iCloud Usage -> Manage Storage There is a shortcut here to delete the app.