Note that there are some explanatory texts on larger screens.

plurals
  1. POEditing a UITextField inside a UITableViewCell fails
    text
    copied!<p>In my application I have a <code>UITextField</code> inside a <code>UITableViewCell</code>. If I click inside the text field and add some text I find that if try to move the insertion point it works the first time but fails on subsequent attempts. I am completely unable to move the selection; no "magnifying glass" appears.</p> <p>Even more curious, this "setting" seems to be permanent until I restart the application. And it affects all <code>UITextFields</code> on that screen and not just the one that I originally tried to edit.</p> <p>If you want to see it yourself, try the "UICatalog" sample that comes with the iPhone SDK. Click "text fields" and then "edit" and play around with the text boxes.</p> <p>I've done a lot of digging on this but it's pretty hard to Google for! The best references I've found are on <a href="http://discussions.apple.com/thread.jspa?messageID=8280094" rel="noreferrer">Apple's support board</a> and <a href="http://forums.macrumors.com/showthread.php?t=521818" rel="noreferrer">MacRumors formum</a> (both reference a solution that apparently used to work on iPhone 2.0 but does work not with contemporary versions -- I did try).</p> <p>My feeling that is that this is a bug in the OS, but I thought I'd throw this out to the SO crowd for a second opinion and to see if there are any workarounds. Any ideas?</p> <p>Following benzado's suggestion, I tried building my application using the 2.0, 2.1 and 2.2 SDKs. I got the same behaviour in all versions. (Actually, something related but not the same broke in 2.2 but that's probably another question!)</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