cocoa touch - UISlider or UISwitch with a stationary mask? -


i've found gorgeous switch i'd implement in ios. artist (@jasonlong) has kindly shared psd of components @ 365psd.com, along crafty little javascript demo.

now, here's trouble... custom uislider , uiswitch examples i've found seem rely on track that's stationary movable knob/toggle. in switch below, require knob/track animate behind mask passes through touch events.

i've never been of interface coder, cute little bugger awesome leave alone. can point me in right direction?

metal slider switches

i suggest having background stationary, , fade between them? sliding track not going work well, can still see green/white around edge of knob.


Comments

Popular posts from this blog

linux - Mailx and Gmail nss config dir -

c# - Is it possible to remove an existing registration from Autofac container builder? -

php - Mysql PK and FK char(36) vs int(10) -