PhotoKit has to say, But photoKit has to say

Source: Internet
Author: User

PhotoKit has to say, But photoKit has to say

PhotoKit is a new framework that replaces ALAssetLibrary after ios9. Note that the framework is not a header file, not a detachable system name, but a framework name, representing a framework type. So you didn't have anything to lose in photoKit in xcode. You will find anything if you have lost n times and tried n times. Naari, what the hell are you doing. So we have to ask how we can use photoKit. The original system class that uses the photoKit framework is not called photoKit but photo/photos. Isn't it a pitfall, when you search for photoKit on major websites, you do not mention photo/photos, and write many of its method class names, but you didn't write the name of the class focusing on photo/photos, so you were pitted.

Success,

PhotoKit learning experience http://blog.sina.com.cn/s/blog_acc991e50102w7zq.html

Compared with AlAssetLibrary, The photoKit framework is slightly optimized to provide some functions. For more information about the same usage, see the code in http://www.okbase.net/file/item/33799because the copyright is not used by me.

In addition to the class in the ViewController file, add the class to your own file.

UploadViewController * uploadV = [[UploadViewController alloc] init];

[Self. delegate. navigationController pushViewController: uploadV animated: NO];

Self. delegate. seg. hidden = YES;

Self. delegate. tabBarController. tabBar. hidden = YES;

You can close the job. You can also make minor changes to the document to suit yourself.

 

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.