appsome / AccordionView

Simple accordion view in Cocoa Touch
Other
144 stars 38 forks source link

exclusive expand is not working #19

Closed yasirmturk closed 9 years ago

yasirmturk commented 9 years ago

i want to expand only one section at a time

suda commented 9 years ago

You can do it by setting [accordion setAllowsMultipleSelection:NO].

yasirmturk commented 9 years ago

does not works.. all three sections are expanded in the example project

suda commented 9 years ago

In line 70 of ViewController.m it's being set to YES. Change it to NO and you'll have this behaviour:

yasirmturk commented 9 years ago

got it i was setting in the beginning :)