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

Mockup & CodeGen, iPhone & iPad
($9.99)

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

Manu
($0.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Tutorials

Reply
 
LinkBack Thread Tools Display Modes
Old 07-07-2010, 01:18 PM   #51 (permalink)
Registered Member
 
Join Date: Jan 2010
Location: NYC
Posts: 37
Default

Quote:
Originally Posted by Jules2010 View Post
No worries, I got it sorted.
How did you do it so it works in 4.0 ?
beleg_1998 is offline   Reply With Quote
Old 08-02-2010, 02:10 AM   #52 (permalink)
Registered Member
 
Join Date: Jan 2009
Location: India
Posts: 107
Default

Quote:
Originally Posted by Jules2010 View Post
No worries, I got it sorted.
Yes me to want it to work in 4.0, can you guide me regarding?
__________________
Thank You,
Jindal is offline   Reply With Quote
Old 08-02-2010, 08:27 AM   #53 (permalink)
Registered Member
 
Jules2010's Avatar
 
Join Date: Apr 2010
Location: UK
Posts: 157
Default

Sorry beleg_1998 for not getting back to you sooner.

Heres an article on how to add a done button to the numeric keypad, which doesn't use Private API's and works with OS4

How to add your own Done button to the iPhone numeric keypad | Software Promotion + SEO
Jules2010 is offline   Reply With Quote
Old 08-06-2010, 03:17 PM   #54 (permalink)
Registered Member
 
Join Date: Aug 2010
Posts: 2
Default

I'm using the sample code from iPhone: Number Pad with a decimal point (OS 3.0, OS 4.0) using public API devedup.com to add a decimal point to the number pad. I'm using a UITabBarController with 3 views, and it works fine, but only on the third (last) view. I'm guessing it has something to do with...

Code:
- (void) addButtonToKeyboard:(DecimalPointButton *)button {	
	//Add a button to the top, above all windows
	NSArray *allWindows = [[UIApplication sharedApplication] windows];
	int topWindow = [allWindows count] - 1;
	UIWindow *keyboardWindow = [allWindows objectAtIndex:topWindow];
	[keyboardWindow addSubview:button];	
}
Has anyone used this code to add a decimal point to views in UITabBarController?
jnce is offline   Reply With Quote
Old 09-23-2010, 07:58 AM   #55 (permalink)
Registered Member
 
Join Date: Sep 2010
Location: India
Posts: 26
Default

Hi,

How can I implement next, previous and done button on my keyboard as it appears in GameCenter. I want to implement these buttons on a tabbar which appears above the keyboard.

Thanks.


Quote:
Originally Posted by thewitt View Post
I could not find it in a quick search and I'm off to a meeting now.

Apparently we were warned not to do this in the SDK 3.0 release notes, and since this "trick" relies on an undocumented call to find the name of the keyboard (walking the subviews until we find the one with the name we think it should be) it's going to - if it doesn't already - flag the code checker somehow...

The Apple recommendation was to submit a bug report.

The only other recommendation - from non-Apple employees in the forum - was to create a completely new, custom keypad and handle all the necessary events yourself. Not a great solution.

My App was just submitted with the Decimal point added to the keypad using this trick - so I guess I'll see if it gets through the gauntlet or not.

I've begun work on a totally custom keypad as a backup plan, but it's going to take some time to get it right and fully functional I'm afraid.

-t
kgupta is offline   Reply With Quote
Old 09-23-2010, 08:12 AM   #56 (permalink)
Registered Member
 
Jules2010's Avatar
 
Join Date: Apr 2010
Location: UK
Posts: 157
Default

Quote:
Originally Posted by kgupta View Post
Hi,

How can I implement next, previous and done button on my keyboard as it appears in GameCenter. I want to implement these buttons on a tabbar which appears above the keyboard.

Thanks.
You will need to write your own and scroll it on to the screen just above the keyboard.
Jules2010 is offline   Reply With Quote
Old 09-27-2010, 02:12 AM   #57 (permalink)
Registered Member
 
Join Date: Sep 2010
Location: India
Posts: 26
Default

Quote:
Originally Posted by Jules2010 View Post
You will need to write your own and scroll it on to the screen just above the keyboard.

Sorry, I did not get you. Can you please explain a bit.
Thanks.
kgupta is offline   Reply With Quote
Old 09-27-2010, 02:32 AM   #58 (permalink)
Registered Member
 
Jules2010's Avatar
 
Join Date: Apr 2010
Location: UK
Posts: 157
Default

Quote:
Originally Posted by kgupta View Post
Sorry, I did not get you. Can you please explain a bit.
Thanks.
See my article above. Also I've now added the decimal place to the class too, in a newer article.
Jules2010 is offline   Reply With Quote
Old 11-10-2010, 01:10 AM   #59 (permalink)
Registered Member
 
Join Date: Nov 2010
Posts: 1
Default

excellent
zenune is offline   Reply With Quote
Old 11-10-2010, 02:24 AM   #60 (permalink)
Registered Member
 
Jules2010's Avatar
 
Join Date: Apr 2010
Location: UK
Posts: 157
Default

Quote:
Originally Posted by zenune View Post
excellent
glad you found it helpful
Jules2010 is offline   Reply With Quote
Old 11-10-2010, 08:16 AM   #61 (permalink)
indie dev
 
rocotilos's Avatar
 
Join Date: Oct 2009
Posts: 2,754
Default

ok its done.

Last edited by rocotilos; 11-30-2010 at 11:49 PM.
rocotilos is offline   Reply With Quote
Old 09-09-2011, 06:33 PM   #62 (permalink)
Registered Member
 
Join Date: Mar 2011
Posts: 21
Default Adding done button when keyboard in landscape

Quote:
Originally Posted by Jules2010 View Post
See my article above. Also I've now added the decimal place to the class too, in a newer article.
Has anybody got it working when the keyboard is in landscape?
I can't seem to get it to work then.

Sergio
famictech2000 is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Stats
Members: 158,885
Threads: 89,230
Posts: 380,765
Top Poster: BrianSlick (7,129)
Welcome to our newest member, bookesp
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 02:24 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0