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 08-06-2010, 02:17 PM   #54 (permalink)
jnce
Registered Member
 
Join Date: Aug 2010
Posts: 2
jnce is on a distinguished road
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
 

» Advertisements
» Online Users: 363
17 members and 346 guests
Abimennicks, asleylq98, baileetom113, Domele, drupii, flamingliquid, HemiMG, hrushikeshaddon, ipodphone, kirstenricks, krisk, lancetusing, nguyenhieu129, smartbot, thephotographer, TomTool, vbovio
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,575
Threads: 94,081
Posts: 402,751
Top Poster: BrianSlick (7,990)
Welcome to our newest member, asleylq98
Powered by vBadvanced CMPS v3.1.0

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