How to select images using PHPickerViewController with SwiftUI

Kristaps Grinbergs
Level Up Coding
Published in
4 min readJan 11, 2021

--

Selecting images from our iPhone library is needed when changing a profile picture, posting an update, or sharing the photo of your pet. In this post, we are going to look into how to use PHPickerViewController with SwiftUI. Apple announced this view controller at WWDC2020.

Photo by Dan Gold on Unsplash.

What is PHPickerViewController?

--

--

Blockchain, mobile and fullstack developer. Startup founder. Conference speaker. Mentor. Passionate about building products, sustainability and Web 3.0.