how do I create the same as the example but for view:"segmented" ?
Tabbar is an extension of Segmented, it inherits everything from it plus has its own code for the popup with dynamically hidden tabs and different styling. I think the best way would be simply to style Tabbar so that it looked like Segmented.
It looks like you're new here. If you want to get involved, click one of these buttons!