Animated Tab Bar and Custom Shapes
🕑 Added 2021-03-03 20:05:13 +0000 UTCSource Code For Animated Tab Bar and Custom Shapes and Animations Using SwiftUI 2.0
Download Code 👇
Comments
Kavsoft
I just updated the code to solve this issue, additionally, I modified the code so that now it will even be in landscape mode!
Namiko Katakura
This doesn't work for ios 17
Namiko Katakura
Same here. Have you found solution?
Scott Rome
For some reason the curve and dot overlay appear in the preview but not in the main simulated app. I think it has something to do with the DispatchQueue.main.async if statement, but I'm not sure. Any suggestions?
João Marques
I already try with navigation link and not work.
João Marques
Hello! Where we can change for give a different view to each TabBar button?
Jason
Love this tab bar! I am using it and when it is inside of a NavigationBar it seems to throw the midX or the tabPoints off. Any idea how to fix this? I have 5 tabs, the dot and curve won't show until you tap the 4th and 5th tab, then it only shows under the 1st and second tab... tap 4th tab and shows under 1st, tap 5th and shows under the second. I have to have the NavigationBar. Any help would be awesome! TIA
Rameek Sims
It's the SF symbols. Download SF Pro and on XCode use the system images.
Kavsoft
Just download SFSymbols package it’s Apple own vector images package It consists of all those images you described above
windsorel
Are images of house, bookmark, message and person included? can't find them.