Iphone copy / paste menu not shown in UITableViewCell

I put UITextField and UITextView in tableviewcell. When you click on the text in them, this allows me to enclose a piece of text with a rectangular pop-up window in which the enlarged text of the embedded text. I want to either copy or paste over the selected text, but the copy-paste menu never shows whether I delete taps once, twice, or press and hold. I appreciate any tips you can give.

+3
source share
1 answer

Somehow the copy / paste menu appears when you click on a text field or text field. It is not clear what I did, which mattered. But I can tell you what I did for your reference. I tried to marry a NIB file, Custome UIViewController, UITableViewCell in one. I had a text box and a text view built into the UIViewController. The UIViewController user interface is loaded from the NIB file. Then I get the UIViewController view as a subview in tableViewCell. You can do it using Google. There are many suggestions.

, NIB UITableViewCell. , NIB. , UITableViewCell , initWithStyle. , tableViewCell tableView , NIB UIViewController tableViewCell.

, , , , /.

0

Source: https://habr.com/ru/post/1725475/


All Articles