Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

pashik

macrumors member
Original poster
Jul 16, 2008
43
0
Hi.

I have timer in application which shows UIAlertView and vibrates iphone.
When iphone is locked iphone vibrates but alert is not shown at least after unlocking - alert is not visible.

what is wrong and how to remain it visible?

Code:
	UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"Warning" message:@"Alert"] delegate:self cancelButtonTitle:@"OK" otherButtonTitles: nil];
	[alert show];
	[alert release];
thanx
 
Hi.

I have timer in application which shows UIAlertView and vibrates iphone.
When iphone is locked iphone vibrates but alert is not shown at least after unlocking - alert is not visible.

what is wrong and how to remain it visible?

Code:
	UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"Warning" message:@"Alert"] delegate:self cancelButtonTitle:@"OK" otherButtonTitles: nil];
	[alert show];
	[alert release];
thanx

You cannot have applications running in the background. They will end once you press the home button or flip to another application.
 
how to show alert when HOme Button is Pressed

hi,
Plz tell me how to show an alert message when the Home button is pressed, saying Do u really want to close the application,


Plz help, it is very urgent,

Thanks in Advance,
Koti
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.