How can I do this iPhone (segmentedcontrol?) layout?

326 Views Asked by At

Please look at this screenshot: alt text

When you tap in another segmentedcontrol, it switches smoothly (try it if you can).

First of all, is it a segmentedcontrol? Second, how can I add this smooth effect?

Thanks guys.

1

There are 1 best solutions below

2
nacho4d On

I just tried. It does not seem to be a segment view. Maybe 3 dark buttons(or view or views) and a layer that moves and overlay the current selected button. Everything is well crafted so it looks great ;)

I think I could do that with a big UIImageView (instead of the three buttons) with an UITapGestureRecognizer to get the touch and a CALayer for the selected button