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 10-02-2008, 06:12 AM   #16 (permalink)
incorrect.user
New Member
 
Join Date: Oct 2008
Posts: 2
incorrect.user is on a distinguished road
Default

To hide a keyboard u need just to setup a callback (i.e. IBAction) for the event "Did End On Exit" of UITextField in the InterfaceBuilder. So make ur UITextField an IBOutlet and put an empty IBAction as a callback for "Did End On Exit". That's all.

Like this:

//header

@interface MyView : UIView
{
IBOutlet UITextField *name;
}

- (IBAction)doneButtonOnKeyboardPressed: (id)sender;

//m-file

@implementation MyView

- (IBAction)doneButtonOnKeyboardPressed: (id)sender
{}

@end
incorrect.user is offline   Reply With Quote
 

» Advertisements
» Online Users: 366
17 members and 349 guests
Absentia, apatsufas, Apptronics RBC, Bad_bmw3, brainspoon, Creativ, Domele, eski, iMax 3060, jbro, JoeRCruso, linkmx, mistergreen2011, Newbie123, revg, RickSDK, vbovio
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,551
Threads: 94,078
Posts: 402,726
Top Poster: BrianSlick (7,990)
Welcome to our newest member, hongto24
Powered by vBadvanced CMPS v3.1.0

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