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

Capture and play voice with Asterisk ARI -

visual studio - Installing Packages through Nuget - "Central Directory corrupt" -

java - Why database contraints in HSQLDB are only checked during a commit when using transactions in Hibernate? -