IOS Development View the app's sandbox files

Source: Internet
Author: User

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.