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

Sdílet
Vložit
  • čas přidán 26. 08. 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 CZcams tech channel with TubeBuddy:
    www.tubebuddy....

Komentáře • 56

  • @Oliver12723
    @Oliver12723 Před rokem +1

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

  • @bondgaide
    @bondgaide Před 4 lety +1

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

    • @iOSAcademy
      @iOSAcademy  Před 4 lety

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

  • @csuparna
    @csuparna Před 3 lety +1

    Thanks a lot. This tutorial was very helpful.

  • @jawadbaloch1408
    @jawadbaloch1408 Před 2 lety

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

  • @ruliruli7634
    @ruliruli7634 Před 4 lety

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

    • @iOSAcademy
      @iOSAcademy  Před 4 lety

      Youre welcome! Make sure to sub for more

  • @ChiefEngineeringOfficer
    @ChiefEngineeringOfficer Před 3 lety +1

    great vid!

  • @Britcoin
    @Britcoin Před 3 lety +1

    Awesome video, thanks.

  • @gatienlaurier1573
    @gatienlaurier1573 Před 4 lety +1

    amazing content thanks man !

    • @iOSAcademy
      @iOSAcademy  Před 4 lety +1

      You’re welcome, make sure to subscribe

  • @anthonykim2372
    @anthonykim2372 Před 3 lety +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 Před 3 lety

      Anthony Kim, what was the error you received?

  • @markth078
    @markth078 Před 3 lety +1

    Good video man

  • @bruhmoment3731
    @bruhmoment3731 Před 3 lety +1

    Thank you!

  • @cirjeex6412
    @cirjeex6412 Před rokem

    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.

  • @jaylensmith6308
    @jaylensmith6308 Před 2 lety

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

  • @andremiliano
    @andremiliano Před 3 lety

    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?

  • @user-mickey88661
    @user-mickey88661 Před 3 lety

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

  • @recursion_wiz8762
    @recursion_wiz8762 Před 4 lety +1

    Awesome!

  • @andreagualandris2462
    @andreagualandris2462 Před 3 lety

    Beautiful tutorial, thank you!

    • @marcoshepard7850
      @marcoshepard7850 Před 3 lety

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

    • @blakematthew6880
      @blakematthew6880 Před 3 lety

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

  • @pvssuresh
    @pvssuresh Před 4 lety +1

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

  • @bruhmoment3731
    @bruhmoment3731 Před 3 lety

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

  • @esj110
    @esj110 Před 3 lety

    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?

  • @abboskhonshukurullaev2712

    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.")

  • @dmitriypapushin6119
    @dmitriypapushin6119 Před 4 lety

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

  • @dhruvvxx
    @dhruvvxx Před 3 lety

    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 Před 3 lety

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

  • @coolmancool1000
    @coolmancool1000 Před 4 lety

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

    • @iOSAcademy
      @iOSAcademy  Před 4 lety

      Thanks, do you mean rendering each uploaded photo?

    • @coolmancool1000
      @coolmancool1000 Před 4 lety

      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

  • @xiampiii
    @xiampiii Před 4 lety

    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  Před 4 lety

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

    • @DrMedzHD
      @DrMedzHD Před 3 lety +1

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

  • @jaxonmoh3708
    @jaxonmoh3708 Před 4 lety

    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

  • @NK-sj4wk
    @NK-sj4wk Před rokem

    👍

  • @GameShark-CHEATS
    @GameShark-CHEATS Před 4 lety

    Very Godd Video bro! I upload the same videos!

  • @GameShark-CHEATS
    @GameShark-CHEATS Před 4 lety

    Very Godd Video bro! I subscribed!do it olso

  • @m.a.354
    @m.a.354 Před 3 lety

    ı dont believe to you 😂 you used storyboard