I have 8 checkbox buttons (with title A,B,C,D,E,F,G,H) and one checkbox button (with title ‘myButton‘)
I want to select all 8 check boxes when I click on ‘myButton‘ checkbox, And if any one of the 8 is deselected, then uncheck ‘myButton‘ Check box.
let me know if anybody has answer.
Give your check box tags like: 1,2,3,…,8 and 9 for
myButtonCheck box.When you click on
myButton:For unchecking the
myButtonyou can use:Edit:
If you created intermediate views for placing the button use that view instead of
self.view.