Back to Browse

PhotosPicker - SwiftUI

7.6K views
Aug 21, 2022
21:39

In this video, I am going to introduce you to the new PhotosPicker for SwiftUI that was introduced in iOS 16. The PhotosPicker struct is a view that displays a Photos picker for choosing assets from the photo library. In iOS 15. we had PHPicker for UIKit and to use that in SwiftUI, we had to wrap it in a UIViewRepresentable, but with iOS 16, we can now do that in SwiftUI. In this video, I will introduced you to a variety of image formats and show you how you can implement a SwiftUI photo picker for single or multiple images at a time. If you want to support my work, you can buy me a coffee :) https://ko-fi.com/stewartlynch Table of Contents: 0:00 Introduction 1:50 Image Types Overview 4:28 Single Image Picker 13:52 Multiple Image Picker Starter Project Files: http://www.createchsol.com/StarterProjects/PhotosPIckerStarterResources.zip Completed Project: https://github.com/StewartLynch/Photos-Picker-SwiftUI Other References: Stewart Lynch's YouTube Channel: https://youtube.com/StewartLynch Stewart Lynch on Twitter: https://twitter.com/StewartLynch

Download

0 formats

No download links available.

PhotosPicker - SwiftUI | NatokHD