Swift: Upload Photos to Firebase Storage (and Download, Swift 5) - Xcode 11 - 2020

แชร์
ฝัง
  • เผยแพร่เมื่อ 8 ก.ย. 2024
  • In this video we will learn how to upload images to Firebase Storage, as well as how to download them. This includes setting up the firebase console, selecting an image, converting between data and image, etc.
    💻 Source Code: / iosacademy
    🎥 Subscribe for more: www.youtube.co...
    😎 Like my teaching style? Check out some of my most popular courses! courses.iosaca...
    #swift #firebasestorage #iosdeveloper
    Join the iOS Academy Community: iosacademy.io/
    ** Get Skillshare free for 2 Months and learn iOS
    www.skillshare...
    ** Manage all your investments from app earnings on Betterment!
    bit.ly/3eBwlI9
    ** Grow your own TH-cam tech channel with TubeBuddy:
    www.tubebuddy....

ความคิดเห็น • 56

  • @Oliver12723
    @Oliver12723 ปีที่แล้ว +1

    Your codes are working !!! 1000 thanks!❤💋

  • @bondgaide
    @bondgaide 4 ปีที่แล้ว +1

    Learned so much from your daily videos. I really appreciate it, Please keep it up.

    • @iOSAcademy
      @iOSAcademy  4 ปีที่แล้ว

      You're welcome! Lets get this channel to 1M subs asap haha

  • @csuparna
    @csuparna 3 ปีที่แล้ว +1

    Thanks a lot. This tutorial was very helpful.

  • @jawadbaloch1408
    @jawadbaloch1408 2 ปีที่แล้ว

    Any toturial image upload and retrieve from firestore in swift storyboard?

  • @ruliruli7634
    @ruliruli7634 4 ปีที่แล้ว

    Just about time to learn by myself and your video pop up! Thank you man!

    • @iOSAcademy
      @iOSAcademy  4 ปีที่แล้ว

      Youre welcome! Make sure to sub for more

  • @Britcoin
    @Britcoin 3 ปีที่แล้ว +1

    Awesome video, thanks.

  • @ChiefEngineeringOfficer
    @ChiefEngineeringOfficer 3 ปีที่แล้ว +1

    great vid!

  • @gatienlaurier1573
    @gatienlaurier1573 4 ปีที่แล้ว +1

    amazing content thanks man !

    • @iOSAcademy
      @iOSAcademy  4 ปีที่แล้ว +1

      You’re welcome, make sure to subscribe

  • @anthonykim2372
    @anthonykim2372 3 ปีที่แล้ว +1

    For those getting error for ios 14 and the new xcode version, you would need to downgrade the ios version by the arrow to fix the error.

    • @esj110
      @esj110 3 ปีที่แล้ว

      Anthony Kim, what was the error you received?

  • @bruhmoment3731
    @bruhmoment3731 3 ปีที่แล้ว +1

    Thank you!

  • @markth078
    @markth078 3 ปีที่แล้ว +1

    Good video man

  • @recursion_wiz8762
    @recursion_wiz8762 4 ปีที่แล้ว +1

    Awesome!

  • @user-mickey88661
    @user-mickey88661 3 ปีที่แล้ว

    nice video but what if i want to the upload job in the background

  • @andreagualandris2462
    @andreagualandris2462 3 ปีที่แล้ว

    Beautiful tutorial, thank you!

    • @marcoshepard7850
      @marcoshepard7850 3 ปีที่แล้ว

      I guess Im quite randomly asking but do anybody know a good place to watch new tv shows online ?

    • @blakematthew6880
      @blakematthew6880 3 ปีที่แล้ว

      @Marco Shepard i would suggest FlixZone. You can find it by googling =)

  • @cirjeex6412
    @cirjeex6412 ปีที่แล้ว

    Hey Afraz, I know this is an older video, but how would you display that image in a tableView or collectionView cell?
    Would really appreciate it if you would respond.

  • @pvssuresh
    @pvssuresh 4 ปีที่แล้ว +1

    What about photos viewer,video player in the chat app series ?

    • @iOSAcademy
      @iOSAcademy  4 ปีที่แล้ว

      Thats coming, dont worry :)

  • @jaylensmith6308
    @jaylensmith6308 2 ปีที่แล้ว

    How come Xcode complains ""Could not build Objective-C" module 'FireBase?"

  • @andremiliano
    @andremiliano 3 ปีที่แล้ว

    Hello, I am trying to do this but with 2 Images in the same View, but it keeps attributing the same image to both, any idea on how to fix it?

  • @bruhmoment3731
    @bruhmoment3731 3 ปีที่แล้ว

    Is there a way to compress the photo before uploading it to Cloud Storage?

  • @dhruvvxx
    @dhruvvxx 4 ปีที่แล้ว

    Great video but I have a question, how to do that user profile picture upload thing, I use your concept in my signup page, and if I create a new user it shows the pic uploaded of the previous user. How do I implement it?

    • @dhruvvxx
      @dhruvvxx 4 ปีที่แล้ว

      And i probably be needing the way to store multiple images for multiple users too, because right now it only stores one image

  • @esj110
    @esj110 3 ปีที่แล้ว

    Thanks for the great video and I subscribed! I was able to follow along the whole time and was able to successfully upload files to firebase and saw it on the console. Where my app had problems was when it tried to find the URL download link and display it. when I try to display the label and image view my build fails because it cannon assign value of type 'StorageMetadata' to type 'String'. Also, it doesn't let me use command let urlString = url.absoluteString command which might be causing the problem. Do you know how to fix this problem?

  • @xiampiii
    @xiampiii 4 ปีที่แล้ว

    Great video but what if I need to get multiple images from the Storage and put them in an array? Thanks for the tutorial!

    • @iOSAcademy
      @iOSAcademy  4 ปีที่แล้ว

      Thanks, you can get multiple via a looped call and dispatch groups or via a batch fetch call to firebase

    • @DrMedzHD
      @DrMedzHD 3 ปีที่แล้ว +1

      @@iOSAcademy can you please make a video of this as an attachment to this tutorial?

  • @dmitriypapushin6119
    @dmitriypapushin6119 4 ปีที่แล้ว

    Great content. How long to waiting for the courses on the cite?

  • @coolmancool1000
    @coolmancool1000 4 ปีที่แล้ว

    Love your video! How would this work if I wanted to implement this into a collectionView?

    • @iOSAcademy
      @iOSAcademy  4 ปีที่แล้ว

      Thanks, do you mean rendering each uploaded photo?

    • @coolmancool1000
      @coolmancool1000 4 ปีที่แล้ว

      iOS Academy yeah where you could click the Upload Photo button as many times as you want and it’ll display the photos in the CollectionView

  • @jaxonmoh3708
    @jaxonmoh3708 4 ปีที่แล้ว

    This doesn't seem to be working anymore at least for me. Firebase have remove Firebase/Core so you no longer need to use it

  • @abboskhonshukurullaev2712
    @abboskhonshukurullaev2712 2 ปีที่แล้ว

    I get the error when I want to upload the image. Could anybody help me with that?
    Failed to upload: Optional("An unknown error occurred, please check the server response.")

  • @GoodOldDays420
    @GoodOldDays420 4 ปีที่แล้ว

    Very Godd Video bro! I upload the same videos!

  • @NK-sj4wk
    @NK-sj4wk ปีที่แล้ว

    👍

  • @GoodOldDays420
    @GoodOldDays420 4 ปีที่แล้ว

    Very Godd Video bro! I subscribed!do it olso

  • @m.a.354
    @m.a.354 3 ปีที่แล้ว

    ı dont believe to you 😂 you used storyboard