Gil Gil - 1 year ago 198
iOS Question

ios - How to add checkbox list to UITextView

I am building a Rich Text Editor, similar to the Notes app on the iPhone and I wanted to know how can I add a checkbox list inside the UITextView?
I assume this can be done using NSTextAttachment but how do I add the tap functionality to check \ uncheck the image?

Gil Gil
Answer Source

Ok so i solved this using HPTextViewTapGestureRecognizer It appears to do a good job handling tap actions for text attachments

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download