Put checkmark in the left side of UITableViewCell

前端 未结 6 409
感情败类
感情败类 2020-12-23 00:14

I want to make something similar to the WiFi settings page: when you tap the table cell, put a checkbox in the left side of the cell, and have a disclosure button accessory

6条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-23 00:49

    You should look at the UITableViewCell reference and Table View Guide. Use standard cell style with editingAccessoryType property set to UITableViewCellAccessoryCheckmark.

提交回复
热议问题