Best radio-button implementation for IOS

后端 未结 8 587
心在旅途
心在旅途 2020-11-29 20:50

I would like to ask if there are examples out there on how to implement radio-button options on an iPhone app.

I find the Picker View quite big for a simple selectio

8条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-11-29 21:28

    Try DLRadioButton, works for both Swift and ObjC. You can also use images to indicate selection status or customize your own style.

    Check it out at GitHub.

    radio button for iOS

    **Update: added the option for putting selection indicator on the right side.

    **Update: added square button, IBDesignable, improved performance.

    **Update: added multiple selection support.

提交回复
热议问题