简体   繁体   中英

UIMenuController and labels

I am new on Xcode, I have been looking for good tutorial on how to implement UIMenuController on labels. Most of what I found is 4 or 2 years ago and is not clear. Text fields maybe better than labels I am not sure. What I want to do is:

1) Implement IUMenu in a label/text field which exists inside a cell (tableView).

2) When I click it shows copy.

Thanks

我找到了使用Text View的解决方案,而我要做的就是禁用编辑功能。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM