Swift for Beginners: Select Photo from Library iOS (2020)
HTML-код
- Опубликовано: 7 июл 2024
- iOS Academy offers the #1 course for iOS Development for Beginners. Learn to create iPhone and iPad apps from scratch. Everyone these days has an app idea; learn the important skill of making those apps, make yourself more marketable, change industries to get a different job, and enjoy the ride!
This video is brought to you by Skillshare - an only community of teachers sharing awesome skills. Use the following link to get 2 months of FREE premium: www.skillshare.com/r/user/afraz
💻 Source Code: / iosacademy
🎥 Subscribe for more: ruclips.net/user/iOSAcademy?su...
😎 Like my teaching style? Check out some of my most popular courses! courses.iosacademy.io
Awesome! Could you provide info or a vid for saving said photo that’s now imported and shown in the app? Closing app removes it from ui, but can it stay after closing?
Thank you, you explain very well and step by step.
Man, you're the MVP!!! Love the channel, keep up the good work
Thanks!
Why do I get an error in line 35?
Writing :”Cannot find ‘imageView’ in scope.
This is perfect! Anyway to have it select only 2 images?
Man, you are truly awesome!
You literally saved me)
Thank you!
thanks, i love how you describe whats happening very logically
Thanks
@@iOSAcademy also do you have any idea how to only allow the user to select a square crop of an image from in photo library?
@@iOSAcademy nevermind, found the solution- set editing as false in the iamge picker and used the 3rd party library CropViewCropper to handle cropping
i need to send the image to api post method after it changed, where i should call the api code? in extension?
How would change the didTapButton function in order to select videos?
Thank👍
Life saver thank you!
What is the difference of using extension like you did vs calling the delegates with the class declaration like this
class ViewController: UIViewController, UIImagePickerControllerDelegate, UINavigationControllerDelegate { ..... }
Bro, I have a error in my console which says Connection to plugin invalidated while in use while opening Photo Library. What do I have to do?. Please Guide me through.
awsome saved my entire day!
Niceee
How to set ratio when pick image, ex 1x1, 2x3, 3x2. please help me!
how can i set an option like select gallery or camera
Incrredible lessons
Thanks
09:30 you can use info[UIImagePickerController.InfoKey.editedImage]
Great video
Thanks
Does anyone know how to modify this code to select a video?
How would I save this image to a database and have the selected image stay and upload as the selected image?
Thanks for the video! Can you do a video for the PHPickerViewController?
Thanks & i have one already
@@iOSAcademy I’ll look it up. Thanks so much for your videos!
this video was useful ,however chancel and choose don't work well with me
does anyone know why?
Add dismiss(animated: true, completion: nil) after imageview.image = image
how to select video?
Instead of struggling with that key, inside the [] just type a . (then you get a list of available keys). Select the one you want. Simple.
would this also work with the tap gesture?
NVM AFTER WATCHING THIS TUTORIAL I DID THE SANME THING WITH A TAP GESTURE AND IT WORKED
THXXX SO MUCH IOS ACADEMY
Already did =)
If I want select several photos, which I can do it ?
Youd need a custom component
I wrote the code for the imageview but it's not showing up when I'm trying to drag and connect it to the storyboard
Either add it as a subview or make sure you add constraints
How i select a video kindly guide me
You can set file type on the picker itself
i want this image to upload on firebase without displaying it. can u please help?
You can just do it in the background
@@iOSAcademy what does in the background mean?
no safari
my image is not loading but i get no build errors
when i do an else statement the image i put in the else statement loads
today you need pick photo and take photo under same button
Nghe dọng buồn cười vải
STOP ZOOOOOOOOOOOOOOOOOOOOOOOOOOOOMING BRO PLEASE
Better to make videos in Urdu Brother that would help plenty of those who can't understand English meanwhile user accent is much different to understand for some ppl...
hello
how to add photos which i want to menu where i choosing photos - image picker ? i have that photos in assets