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.