Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 05-26-2009, 07:44 PM   #7 (permalink)
danbaumbach
Registered Member
 
Join Date: May 2009
Posts: 41
danbaumbach is on a distinguished road
Default

Quote:
Originally Posted by Fastrak View Post
Suppress editing of the field with
[textField setEditable:NO];

and then in the touch handler see if the touch was within textField's frame


(I have not tried this so YMMV)
When you do this, you no longer have a flashing cursor. Is there a way to do this so that one just looses the keyboard but doesn't loose the cursor and the clear button. That way you could place the cursor within the text and not just at the end and thereby insert or delete characters.

I've tried implementing a UITextFieldDelegate and sending [textField resignFirstResponder] but that doesn't work.

- Dan.
danbaumbach is offline   Reply With Quote
 

» Advertisements
» Online Users: 513
19 members and 494 guests
bignoggins, buggen, ClerurcifeDer, Clouds, dana0550, Duncan C, iAppDeveloper, ipodphone, krisk, linkmx, LunarMoon, Objective Zero, QuantumDoja, sacha1996, sCarlRodriguezj, sirenum, stanny, Steven.C, yomo710
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,639
Threads: 94,102
Posts: 402,827
Top Poster: BrianSlick (7,990)
Welcome to our newest member, sCarlRodriguezj
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 11:53 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.