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 09-22-2008, 09:33 AM   #1 (permalink)
kieran12
Registered Member
 
Join Date: Aug 2008
Location: Ireland
Age: 21
Posts: 472
kieran12 is on a distinguished road
Question Hiding keyboard/number pad

Hey everyone,

This should be quite simple I think. I know to had the keyboard this code is used:


Code:
- (BOOL)textFieldShouldReturn:(UITextField *)textBoxName {
	[textBoxName resignFirstResponder];
	return YES;
}
In IB where you can select keyboard type I have changed it to number pad and this code doesn't seem to work for me.

My IB settings are:

Type: Number Pad
Return Key: Done

And Auto-enable done key is checked.



And help would be appreciated.
__________________
On the iOS App Store
kieran12 is offline   Reply With Quote
 

» Advertisements
» Online Users: 374
20 members and 354 guests
Absentia, alexP, blackcat_tq, Bobarino, Duncan C, Farfalo, flamingliquid, Garros1990, hacker073, ilmman, jbro, mongmo, MysticLine, n00b, Newbie123, NSString, pinky, Sami Gh, SillyHoney, SuperDietGenius
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,560
Threads: 94,079
Posts: 402,743
Top Poster: BrianSlick (7,990)
Welcome to our newest member, mongmo
Powered by vBadvanced CMPS v3.1.0

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