Post

Replies

Boosts

Views

Activity

Reply to PHPickerViewController: Permission Error
https://developer.apple.com/documentation/photokit/delivering_an_enhanced_privacy_experience_in_your_photos_app With the many privacy enhancements added in iOS 14, it’s a good time to evaluate how and why your app uses PhotoKit to access the user’s library. Many apps may only need read-only access to retrieve images to share on the internet or embed in a document or email. For these purposes, the simplest way to provide an enhanced user experience is to use PHPickerViewController to access the Photos library.  PHPickerViewController is a new picker that replaces UIImagePickerController. Its user interface matches that of the Photos app, supports search and multiple selection of photos and videos, and provides fluid zooming of content. Because the system manages its life cycle in a separate process, it’s private by default. **The user doesn’t need to explicitly authorize your app to select photos, which results in a simpler and more streamlined user experience. **
Topic: Programming Languages SubTopic: Swift Tags:
Nov ’21