iPhone vertical toggle switch

Posted by nan on Stack Overflow See other posts from Stack Overflow or by nan
Published on 2010-05-14T18:03:58Z Indexed on 2010/05/14 18:24 UTC
Read the original article Hit count: 547

Filed under:
|
|

I'm trying to create a vertical toggle switch control for the iPhone (along the lines of UISwitch but vertical sliding).

I was wondering whether an existing control already existed or if there are any good tutorials that explain the basics of creating custom controls for the iPhone.

Currently I've tried using affine transforms to create the vertical switch from a basic UIswitch, and it works except that the slider is too small compared to the slider track, thus I'm looking for information on writing custom controls.

Any direction is much appreciated.

© Stack Overflow or respective owner

Related posts about iphone

Related posts about iphone-sdk