Create Animation bar

hi everyone I’ve been looking for quite a while to make something like this but in UIKit How to Make an Animated Underline Tab Bar! (SwiftUI) - YouTube if anyone has a tutorial about it let me know, thanks in advance.