How iOS finds its own sandbox

Source: Internet
Author: User

How iOS finds its own sandbox

In iOS development we will use the sandbox, because we understand the sandbox is not enough, so we can not find the sandbox file where, of course, we must know the path

Like my path.

nsstring* CachePath = [Nshomedirectory () stringbyappendingstring:@ "douments"];    asidownloadcache* cache = [[Asidownloadcache alloc]init];    [Cache Setstoragepath:cachepath];    Cache.defaultcachepolicy = Asionlyloadifnotcachedcachepolicy;        NSLog (@ "%@", CachePath);

After execution will be able to see where the path is, and know which file, the following is the printed path, we can rely on this to find

/users/rjxyrjxy/library/application Support/iphone simulator/7.0.3/applications/ D7258b1f-d328-4feb-8593-32d916e03748douments

Find the path in detail, such as the following


How iOS finds its own sandbox

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.