Is there a simple way for subclasses of UITableViewCell to show the ‘Copy’ UIMenuController popup like in the Address book app (see screenshot), after the selection is held for a while?

(source: icog.net)
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The method before iOS 5 is to get the UIMenuController’s shared instance, set the target rect and view and call
-setMenuVisible:animated:. Remeber to implement-canPerformAction:withSender:in your responder.The method after iOS 5 (previously available as undocumented feature) is to implement these 3 methods in your data source (see https://developer.apple.com/reference/uikit/uitableviewdelegate#1653389).