Let’s create a new app, Collage! We will start just with a view that can display images taken from the camera or from the Photos library. To do this we will use two of Apple’s view controllers: UIImagePickerController and PHPickerViewController. Although we are doing this in a SwiftUI app, we will leverage these two UIKit classes with UIViewControllerRepresentable.
Chapters:
0:00 Getting Images from Photos and Camera
0:36 Creating Collage App
2:06 Showing Images in a LazyVGrid
5:03 Adding a PHPickerViewController
9:53 Getting results from PHPickerViewController
15:56 Adding a UIImagePickerController
22:43 Improving the PhotoPickerView Implementation
Source code: https://github.com/codingWithTom/Coll...
Collage playlist: • Collage
Intro song: All That from Bensound.com
Outro song: Endless Motion from Bensound.com