Very simple and concise. Great tutorial. Just a hint, you could also declare the url as let url:URL!, so you won't need to use Force unwrapping later on in the code.
@swiftandtips
Жыл бұрын
Thank you Ameya! 😄
@jackadams8249
9 ай бұрын
thanks alot u really saved me i subbed💯
@swiftandtips
9 ай бұрын
🥰🙌🏻
@sureshkutagulla4526
3 жыл бұрын
Nice Pitt Bro , I am Beginner understanding quickly and clear
@swiftandtips
3 жыл бұрын
Keep going!! 👏😄. I’m glad these videos are helping you @Suresh
@DaveJacobseniOS
2 жыл бұрын
Exactly what I needed! Thanks Pitt
@swiftandtips
2 жыл бұрын
You’re welcome Dave ☺️!
@yygysgtyfugunvt
2 жыл бұрын
@Dave jacobsen in my case only white screen coming can you please help me?
@iliesspace
2 жыл бұрын
Thanks man we appreciate your content, that was very helpful ❤️
@swiftandtips
2 жыл бұрын
Thanks your support! 🫶🏼
@bihter3201
Ай бұрын
Great stuff
@Alexander-mg4pr
2 жыл бұрын
Awesome, creative method! Thank you!
@jctech14
Жыл бұрын
Great and useful video. Native development offers as easy and straightforward solutions as third party frameworks and APIs do. Thanks.
@RobertHolzapfel
2 жыл бұрын
Very good video material, nice teaching style, essential content. Thanks a lot for sharing your knowledge! 👍🏻
@swiftandtips
2 жыл бұрын
Thank very much Robert ☺️
@illyakrit7494
7 ай бұрын
Nice tutorial! Thank you!
@swiftandtips
7 ай бұрын
Glad it was helpful! ☺️
@pavankumar.m1341
3 жыл бұрын
Nice idea i didn't know if that's simple
@rungxanh2901
2 жыл бұрын
This is exactly what I need. Thank you so much boss 🤝
@swiftandtips
2 жыл бұрын
😄🫶🏼
@yygysgtyfugunvt
2 жыл бұрын
in my case only white screen coming can you please help me?
@cmlra
2 жыл бұрын
Excellent video, it works smoothly. Please guide how to disable the repeat for gif Image.
@swiftandtips
2 жыл бұрын
Thanks Qazi! Do you mean just reproduce it once?
@cmlra
2 жыл бұрын
@@swiftandtips yes exactly , it should repeat the animation once and then stop.
@swiftandtips
2 жыл бұрын
I see, let me investigate and I’ll reply you back 👌
@cmlra
2 жыл бұрын
@@swiftandtips thanks for your time and response
@mario-zz7ft
2 жыл бұрын
thank you nice video it help a lot
@swiftandtips
2 жыл бұрын
Your welcome Mario! I’m glad it was useful for you😀!
@TomoShinozaki-un8sv
Ай бұрын
Hi, my GIF seems to only loop once. Do you know how to fix this by any chance?
@swiftandtips
Ай бұрын
Not sure why, but I can investigate 👍
@Mbra771
2 жыл бұрын
Thanks for the video. Is it possible to change the output? I would like to change the gif after some time!?
@swiftandtips
2 жыл бұрын
Hi Mbra771, I haven't tried yet, but I don't see any issue to do it.
@oguzyuksel5815
3 жыл бұрын
It works well if you have static view but I can't use this something like @State var selectedGif: String. I mean it doesn't update gif.
@swiftandtips
3 жыл бұрын
Interesting 🤔, what is your approach @Oguz?
@oguzyuksel5815
3 жыл бұрын
@@swiftandtips Just put two gif file in bundle such as 1.gif, 2.gif then call GifImage in ContentView with a state property inside, switch between "1.gif" and "2.gif" by a Button. GifImage will render always initial state.
@swiftandtips
3 жыл бұрын
I see, I will try that later today. Thanks!
@yygysgtyfugunvt
2 жыл бұрын
in my case only white screen coming can you please help me?
@swiftandtips
2 жыл бұрын
Hi Adarsh, share a gist link to me and I could take a look.
@melihbasturk627
Жыл бұрын
@@swiftandtips Same. white screen and this message in : Error acquiring assertion:
@Joseopal
2 жыл бұрын
thank you for inspiring video! I learn a lot from your video! One more question I wanna ask is about the background of gif. For the example of pocketmon ball in your video, I wanna remove the blue background and only want to display the red ball itself. I tried your code and I got my gif with white background automatically. How can I display gif without adding white background?? My original gif has no background! Thanks!
@Joseopal
2 жыл бұрын
I fixed it! made the opaque function true!
@swiftandtips
2 жыл бұрын
Great 😃! How is the code?
@swiftandtips
2 жыл бұрын
What I recommend you is to actually remove the background from the gif itself instead of adding extra work in the code just for removing it 👍
@swiftandtips
2 жыл бұрын
If you could send me a tweet with a screenshot would be great 👍
@louislaw299
2 жыл бұрын
same issue, if you try dark mode you'd see the white background issue, I set website.isOpaque=false to workaround this
@iIiI-sw3ht
Жыл бұрын
Hi , Thanks for this great work , I did it and work with me but all image have background "White" I want clear backGround this gif )=
@swiftandtips
Жыл бұрын
Thanks for your comment. Yeah, that’s something I noticed too. I will try to find a solution for it soon.
Пікірлер: 51