开发者

Radio buttons in table view

开发者 https://www.devze.com 2023-03-29 02:25 出处:网络
I have a开发者_开发技巧 table view which has four cells in each cell i want to create two radio buttons(YES,NO) in such a way that if i select yes then no should be disabled and vice-versain a particu

I have a开发者_开发技巧 table view which has four cells in each cell i want to create two radio buttons(YES,NO) in such a way that if i select yes then no should be disabled and vice-versa in a particular cell likewise i want to do in all the four cells. can anybody share the code

Thanks in advance


Radio buttons are great for the web where you have a small pointer, but horrible interface for the device and fat fingers. The behavior you are trying to achieve is better represented with a single UISegmentedControl (for more than one option) and a UISwitch for a yes|no option. See here or here for a quick tutorial on how to implement them

0

精彩评论

暂无评论...
验证码 换一张
取 消