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 > iPhone SDK Development Forums > iPhone SDK Development

Reply
 
LinkBack Thread Tools Display Modes
Old 09-12-2010, 08:49 AM   #1 (permalink)
iPhone SDK learner
 
Join Date: Feb 2010
Location: Illinois, USA
Posts: 421
Batman is on a distinguished road
Default UIAlertView positioned differently

Hi everyone-
I've experiencing a weird problem. I have this UIAlertView with a text field and the keyboard pops up. When I test my app on my iPod, it works fine, with alert above the keyboard. When somebody else downloaded the app, the alert was hidden under the keyboard. I'm using the regular code to display the alert, so what could be causing this? If it helps, here is the code I am using:
Code:
UIAlertView *alertView = [[UIAlertView alloc] initWithTitle:[self alertTitle]	message:[self alertMessage]	delegate:self cancelButtonTitle:@"Okay" otherButtonTitles:@"Play Again", nil];
				[[self userName] setFrame:CGRectMake(40, 95, 203, 31)];
				[[self userName] setPlaceholder:@"Your Name"];
				[[self userName] setHidden:NO];
				[[self userName] setUserInteractionEnabled:YES];
				[alertView addSubview:[self userName]];
				[[self answer] resignFirstResponder];
				[[self userName] becomeFirstResponder];
				[alertView setTag:3];
				[alertView show];
				[alertView release];
				alertView = nil;
Thanks,
Batman
__________________
Fast Flash Cards
Available on the App Store
Fast Flash Cards
Batman 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 Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 342
10 members and 332 guests
cgokey, givensur, iGamesDev, jenniead38, linkmx, mraalex, PixelInteractive, raihan.zbr, Trickphotostudios
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,657
Threads: 94,116
Posts: 402,889
Top Poster: BrianSlick (7,990)
Welcome to our newest member, jenniead38
Powered by vBadvanced CMPS v3.1.0

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