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-22-2008, 06:27 PM   #3 (permalink)
jonc
Registered Member
 
Join Date: Apr 2008
Location: Colorado
Posts: 312
jonc is an unknown quantity at this point
Send a message via AIM to jonc
Default Re: Supress keyboard on text field touch

Well I ended up disabling user interaction and disabling the text fields. They just sit there now and don't interact with any touches but I can change the content in the code. I thought about determining if the touches were in the frame but it seemed like a lot of effort. I was using IB for this view so I added invisible buttons over the text fields that would pick up touches.

Interesting thing is that when the alpha is less than 0.02 the buttons didn't pickup the "touch up inside" action. I didn't think this was normal behavior, specially for it to stop working at 0 and 0.1, it just didn't make any sense.

I ended up putting the button behind the disabled text field and it picks up the touches. If anyone does figure out how to suppress the keyboard and still pick up touch events from a text field I would love to know.
jonc is offline   Reply With Quote
 

» Advertisements
» Online Users: 450
17 members and 433 guests
13dario13, 7twenty7, baja_yu, bhsu21, Bryan1, ClerurcifeDer, Duncan C, gdogdev, guusleijsten, HowEver, iAppDeveloper, iekei, ilmman, Paul Slocum, PavelMik, QuantumDoja, yys
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,637
Threads: 94,101
Posts: 402,822
Top Poster: BrianSlick (7,990)
Welcome to our newest member, jessicagx69
Powered by vBadvanced CMPS v3.1.0

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