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

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -