How IOS can view a real-machine sandbox (graphics tutorial)

Source: Internet
Author: User

In the sandbox mechanism for iOS development, we learned how to view the sandbox content of the emulator. Go directly to the folder in Finder->, enter:

 /users/ligang/library/application support/iphone simulator/ 

This allows you to view the sandbox contents of the emulator. In peacetime development, we should mostly use the real machine test. If you need to manipulate the files in the sandbox, we can determine whether the file operation is correct by observing the contents of the real-machine sandbox.

If you already know how to view the sandbox for a real machine, check out the other articles, which are just a few more iOS-related articles in the online site search. Next, you'll learn more about how to view the real-machine sandbox in a graphic way. Interested students can continue to look down.

View the real-machine sandbox tutorial open Devices

In the upper navigation bar of Xcode, select Window---Devices

Find target app

We take Iosstrongdemo for example. The interface looks like this:

Browse the Sandbox directory structure double-click Iosstrongdemo

Click Show Container

Settings icon after clicking,:

So we can only see the directory structure of the sandbox. The entity file is not visible. So, our next step is to find this sandbox.

Download Container saved to the desktop

as shown, there is a Download Container, which, after selection, is saved to the desktop.

Right-click to display the contents of the package

View the Sandbox directory

Appdatainfo.plist is the app's profile:

Open AppData

This is the sandbox for the app, Here we can make additions and deletions to the file to check and change the operation. More content to continue to share slowly later.

 

The source of this article has just been online: http://www.superqq.com/blog/2015/07/23/ ru-he-cha-kan-zhen-ji-de-sha-he-(tu-wen-jiao-cheng-)/

Public number iOS development: Iosdevtip

How iOS View a real-machine sandbox (graphics tutorial)

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.