Reputation: 385
Recently, I find a iPhone app using horizontal scrollable tab bar and the item in the tab bar can be add or remove in the bar. I want to know which ui framework is using for this feature. Thanks for your help!
Upvotes: 0
Views: 5508
Reputation: 24
Theoretically you can implement this using UIPageViewController. Thing is that using it, it's hard to catch how far have you scrolled the page so far to position "underline" correctly.
The best solution I see is to use UIScrollView and position everything yourself. There was a WWDC presentation how to use UIScrollView to "swipe" through images (https://developer.apple.com/videos/play/wwdc2011/104/). You will find step by step guide how to get the result you need.
Upvotes: 1