Checkbox in iOS application

前端 未结 13 1466
野趣味
野趣味 2020-12-01 01:48

I need to add checkbox controls to my form. I know that there is no such control in iOS SDK. How could I do this?

13条回答
  •  天涯浪人
    2020-12-01 02:54

    Generally, you would use the UISwitch for checkbox-like functionality.

    You could roll your own though by using an image control with two images (checked/unchecked) and switching the images when they touch the control/

提交回复
热议问题