I know how to make all these uiimageviews disappear and come back again, but I don't know how to write this shorter. They are all assigned unique tags 1-35. I want to check if ALL of them are hidden and then perform an action.
if(test.hidden==YES
&& test2.hidden==YES
&& test3.hidden==YES
&& test4.hidden==YES
&& test5.hidden==YES
&& test6.hidden==YES
&& test7.hidden==YES
&& test8.hidden==YES
&& test9.hidden==YES
&& test10.hidden==YES
&& test11.hidden==YES
&& test12.hidden==YES
&& test13.hidden==YES
&& test14.hidden==YES
&& test15.hidden==YES
&& test16.hidden==YES
&& test17.hidden==YES
&& test18.hidden==YES
&& test19.hidden==YES
&& test20.hidden==YES
&& test21.hidden==YES
&& test22.hidden==YES
&& test23.hidden==YES
&& test24.hidden==YES
&& test25.hidden==YES
&& test26.hidden==YES
&& test27.hidden==YES
&& test28.hidden==YES
&& test29.hidden==YES
&& test30.hidden==YES
&& test31.hidden==YES
&& test32.hidden==YES
&& test33.hidden==YES
&& test34.hidden==YES
&& test35.hidden==YES){
do something
}