UIAlertView close the App
Posted
by Marco
on Stack Overflow
See other posts from Stack Overflow
or by Marco
Published on 2010-03-08T09:57:16Z
Indexed on
2010/03/08
10:06 UTC
Read the original article
Hit count: 891
uialertview
|iphone-sdk
Hello Users,
in my project my app first tries to connect to the internet, but now i have to check if there is an connection available! so i made an if, else within an UIAlertView in the else part!
but how can i close the whole app on a click on the following button?
UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"Keine Internetverbindung" message:@"Es konnte keine Verbindung zu www.sip.de hergestellt werden!" delegate:nil cancelButtonTitle:@"Schliessen" otherButtonTitles:nil];
thank you all for helping beforehand
greets Marco
© Stack Overflow or respective owner