Рет қаралды 15,858
Today you’ll learn how to display a UI in the app for the user to select a photo from their own photo library.
Timestamps:
00:00 Intro
00:21 UIImagePickerController vs PHPickerController
04:06 Creating the Xcode Project
07:44 Adding UIImagePickerController to a SwiftUI project
12:37 Handling the Photo Selection
27:49 Dismissing the Picker
Reference Links:
Apple Documentation: UIImagePickerController - developer.apple.com/documenta...
Apple Documentation: PHPickerController - developer.apple.com/documenta...
Apple Dev Forum: Issues with PHPicker - developer.apple.com/forums/th...
🚨 SPECIAL CWC+ OFFER FOR KZfaq:
cwc.to/youtubeoffer
MY FREE ONLINE COURSE:
⚡ How to make an app in 14 days - cwc.to/14days
CWC+ PROGRAM:
👩💻 All our courses in a learning path - cwc.to/plus
WEEKLY UPDATES VIA EMAIL:
✉️ Every Saturday, receive an email digest of new content - cwc.to/newsletter
CONNECT:
🌍 Website - codewithchris.com
😺 GitHub - github.com/codewithchris
📸 Instagram - / codewithchris
🐦 Twitter - / codewithchris
ABOUT CODEWITHCHRIS:
Hi I’m Chris! I’m dedicated to teaching fundamentals about how to make an app. This is important if you’re trying to land an iOS job, be a freelancer, increase or start a business with an app idea. On this channel and my website, you'll find a ton of free resources and tutorials to aid you on your journey to learn iOS development. Many people have learned to code and build apps on their own! cwc.to/reviews
DID THESE LESSONS HELP YOU?
Please let me know! - feedback.codewithchris.com
ROADMAP:
roadmap.codewithchris.com