ios - IBAction linked to multiple UISliders -


i have view controller 3 sliders. have 1 function needs called every time slider value changes - value change in 1 of 3 sliders should cause call function.

how do that?

if try use outlets able link 1 uislider.

you can connect value changed event of sliders same ibaction:

enter image description here

enter image description here

enter image description here

if want connect them outlets (which entirely different) have use iboutletcollection:

enter image description here


Comments

Popular posts from this blog

ruby - Trying to change last to "x"s to 23 -

jquery - Clone last and append item to closest class -

c - Unrecognised emulation mode: elf_i386 on MinGW32 -