iOS — Using the camera with SwiftUI

Sharing is caring

Quentin Fasquel
3 min readJan 2, 2024

--

A little history

Until iOS 14, UIImagePickerController used to be the view controller doing it all when it came to taking pictures, recording videos or even choosing items from the photo library.

iOS 14 brought PHPickerViewController as the preferred UIKit view controller to handle the photo library aspect…

--

--