Replicate UISegmentedControl with UIButtons - iPhone
        Posted  
        
            by Sam
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Sam
        
        
        
        Published on 2010-04-22T13:00:21Z
        Indexed on 
            2010/04/22
            13:03 UTC
        
        
        Read the original article
        Hit count: 454
        
Hi guys,
I didnt like the style of UISegmentedControl, hence i tried to change the way it looked, but I couldnt attach images to its buttons. I just didnt change at all.
Now i'm looking at how to replicate that function with 4 UIButtons.
I've setup 4 UIButtons in interface builder, added different tag numbers to them.
What i cannot accomplish is when a button is tapped, it should be "selected" and the other buttons should be Unselected.
How can i connect all of them?
And if there was a way to change the UISegmented control looks, i would need all this effort.
thanks for the help guys
this is for iPhone OS
© Stack Overflow or respective owner