我需要在下面的radiobutton
中显示json
。任何人都可以向我建议如何显示包含多个选项的radiobutton
。这些选项也在json
中提供
[{"cssClass":"radio","values":"Radio 1","fieldsize":"null","required":"undefined","prevalue":"undefined","autocaps":"none","fieldesc":" ","options":"Choice1,Choice2,Choice3,Choice,Choice"},{"cssClass":"radio","values":"Radio2","fieldsize":"null","required":"undefined","prevalue":"undefined","autocaps":"none","fieldesc":" ","options":"Choice3,Choice4,Choice5,Choice"},{"cssClass":"radio","values":"Radio3","fieldsize":"null","required":"undefined","prevalue":"undefined","autocaps":"none","fieldesc":" ","options":"Choice6,Choice7,Choice8,Choice"}]
答案 0 :(得分:1)
你可以拍摄两张图片(一张在其中有一个点,另一张没有点)。在一些IBAction方法中,实际将这些图像提供给UIControlstateselected和UIControlstateNormal上的自定义按钮。