ios - How to use segmented control as an add minus feature -


i trying create app want user able increase , decrease number using segmented controller. have 2 problems.

  1. one side selected, how can make selected when user touching it?

the plus side selected

  1. how register if same side tapped? have seen many examples shows how register tap on other segment.

you using wrong control this. there uistepper want.

https://developer.apple.com/documentation/uikit/uistepper?changes=latest_minor


Comments

Popular posts from this blog

sql - Time in datatime field -

javascript - How to split the success output from an Ajax post? -

java - sharing object across different classes -