In iOS development, it is often necessary to save some information locally, such as some of the user's search history. So, how do you see the saved files?
Here are two ways to view the app's sandbox files.
Method One: Use Xcode to view the following steps:
(1): Xcode, click Window---Devices (or use the shortcut command + SHIFT + 2)
(2): Select your device, which is the iphone, then select the app you want to see in installed apps. Such as:
(3): Swipe the mouse to the bottom of installed Apps, left click on the Settings button, select "Download Container", then you can download the sandbox file to this machine. View the contents of the downloaded file.
For example, ending with plist is the application of the file saved in the local sandbox.
Method Two: If the mobile phone jailbreak (or the phone's system is less than iOS 8.3), you can use some software, such as the PP helper to view, the steps are as follows:
(1) in the PP assistant, click "Apply Game", then click "App List" to select the app
(2) Click the last "View File" button and then view it in the file path of the response, and after finding the plist file, open it and view it. Such as:
Summarize:
For jailbroken and non-jailbroken phones, you can view the app's sandbox files using method one, and only use the sandbox file for the jailbreak app (if the phone system is lower than iOS 8.3, the non-jailbroken phone can use method two).
IOS Development View the app's sandbox files