0

我需要radiobuttonjson下面给出的显示一个。任何人都可以建议我如何显示一个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"}]
4

1 回答 1

1

您可以拍摄两张图像(一张里面有点,一张没有点)。在某些 IBAction 方法中,实用地将这些图像提供给 UIControlstateselected 和 UIControlstateNormal 上的自定义按钮。

于 2013-01-09T06:46:29.023 回答