ios - How can I create this Switch behavior? -


i want create following selection button pick 2 options "salary" , "hourly wage".

enter image description here

i have images when either (left or right) option selected.

enter image description here

what ui element in ios can use create this? looked switch did not see option on how set custom backgrounds.

obv in code need know option selected also. should treating these 2 separate uibuttons right next each other?

the control looking uisegmentedcontrol - see apple docs.


Comments

Popular posts from this blog

angularjs - ADAL JS Angular- WebAPI add a new role claim to the token -

php - CakePHP HttpSockets send array of paramms -

node.js - Using Node without global install -