Note that there are some explanatory texts on larger screens.

plurals
  1. POmissing copy/paste menu in UITextField/UIWebView
    text
    copied!<p>I'm having a problem and I can't find a workaround for it.</p> <p>I have a view with a <code>UIWebView</code> implementation and a <code>UITextField</code>. On both, when I tap, I do not get the copy/paste menu to appear.</p> <p>The <code>UIWebView</code> has text in it (text only) and I can select either a word, or a paragraph or make the magnification glass appear and manually select the text I want.</p> <p>On the other hand, <code>UITextField</code> can take input and works as intended, except for the copy/paste functions.</p> <p>Nothing is sub-classed. I need only the default implementation of iOS for the copy/paste functions.</p> <p>This problem is not in a single view. I have another <code>UIWebView</code> with the same problem elsewhere so I think this is a global problem.</p> <p>I have done all the obvious (import UIKit and Foundation frameworks, assign properties, releasing etc) but again I'm stuck on this.</p> <p>What might interact/interfere with such a simple functionality, disabling it? Moreover, always under the simplest implementation, what else is needed for this to work? (any framework I'm missing, any property etc).</p> <p>Such a simple thing and I'm stuck with it. If anyone has any idea its much appreciated. </p> <p><strong>==== Edit ====</strong></p> <p>The problem is not caused by my code in any view or class.</p> <p>I have added a new view (the application is tabbar based) with only a UITextField and a UITextView with the default "Lorem Ipsum" text. On the textView I can also select text but no menu to copy/paste/select/select All. This also happens in the textField (empty) where no paste menu appears (I copy some text from another app, ex. Safari or Notes).</p> <p>It seems the problem is somewhere else affecting universally the app, in all views.</p> <p>I have removed Frameworks references and put them back but nothing happened. I'm still trying to figure from where this comes. </p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload