Your Second iOS and SwiftUI App, Episode 11: Modal Views | raywenderlich.com

Use a modal sheet in your detail view to present an image picker, and bind the result to your library. Soon, your books can have cover photos!


This is a companion discussion topic for the original entry at https://www.raywenderlich.com/25836622-your-second-ios-and-swiftui-app/lessons/11

I noticed the code in PHPickerViewController.View from the video is different than the code in the Materials repository. Was this an oversight?

Hi! I’m sorry, you’ve probably been working with the materials for the previous version. I’ve updated the repo to point you to the Version 3 materials, which should clear up the differences you’ve been seeing.

Thank you! I Had same problem.