This is also the default value for the property. In compatible mode, if the source photo that the user selected exists as a HEIF formatted photo we will transport a Jpeg and give you a Jpeg version of it. It could be compatible mode, or we can set it to current mode. We have a new property called imageExportPresent. And we made it really easy to do so with UIImagePickerController.
Now we realize that it will take some time for the ecosystem to adopt HEIF fully. In iOS 11 we have introduced a new format called HEIF for photos. You can us a URL as is, or you can read the NSDate into your app and process as needed. So, if you would like to work with us later, we suggest you move the file to a more permanent location so it stays there. This URL is a file URL, which points to a file in the temporary of your app. The key is called UIImagePickerControllerImageURL. We now provide you a brand0new key with every result of UIImagePickerController. As well as other various metadata.Īnd we've made it really easy to get to this in iOS 11. Photos contain rich metadata within them. As well as gives users a really high level of privacy.īecause no authorization is granted, none is asked for. We feel that this removes friction from your app. When the user makes a selection, we take that photo or video and send it over to your app. Only the user is able to interact with UIImagePickerController UI. And apps no longer get access to users' photo library. What that means is that we present the contents of our API from an out-of-process sandbox and secure environment. UIImagePickerController in iOS 11 is now an out-of-process API. Now, let's see what presenting UIImagePickerController in iOS 11 looks like. I've filled out, I'm having a great day at WWDC, a little bit nervous, but that's OK.īut I'd like to attach a photo. So, here's an app I've just downloaded from the app store. Let's look at a demo and we'll get into it. So, I'm happy to announce that in iOS 11, this alert is no longer needed. And third, give a higher level of privacy to our users. So, in iOS 11, we have revamped the privacy and security fundamentals of UIImagePickerController.Ĭreate a great user experience in your apps. As well as the user giving up a level of privacy that perhaps they didn't really mean to.Īs well as apps that will fail to perform even though there are great features, because the user didn't want to give them access. I'm sure you all well aware, familiar with this alert. Therefore, whenever you presented the UIImagePickerController, we require you to get the users' authorization for their entire library in order to select a single photo or video.
In iOS 11, we have some great improvements and new features that I'm really excited to share with you today.Īt Apple, we care deeply about our users' privacy and security. UI Image Picker Controller is a simple and easy to use API for selecting photos and videos in your app. And on this last point, I'd like to welcome to the stage, my first colleague in the Photos Engineering Team, Hasan Adil. We're going to talk to you about that too. We're not forcing the user to give up privacy just because they want to integrate with your application and with their photos. So, we're going to talk to you about that as well.Īnd finally, we want to do this in a way that we're not violating the trust with the user. Ensuring that the responsiveness of your application is the best it can possibly be. We also want to talk to you about doing this in a way that is high-performing within your app. And we've got some great new API to make this easy for you. Leading to ever-growing libraries filled with tremendous amount of memory and meaningful moments that delight users when they reexperience them.Īnd so, we want to talk to you about creating great experiences in your apps and integrating with the Photo library. Every day around the world millions and millions of photos are captured on iOS devices. So, obviously, we're all here because we care about photography.Īnd our users as I'm sure most of you know, care deeply about photography. for session 505, "What's New in Photos API." My name is Eric Hanson, I'm the Photos Platform evangelist and I'm joined here this afternoon by two of my colleagues from the Photos engineering team to talk to you about a whole lot of great things new in Photos for iOS and for macOS High Sierra. It's so great to see so many of you here today.