System Alerts Calling Methods System alerts, such as “Low battery, 20% of battery remaining” will call the following methods: applicationWillResignActive called before the alert comes up applicationDidBecomeActive called after the alert is dismissed A typical problem is if you use applicationDidBecomeActive to detect your app starting up from a suspended state (from multitasking). To solve this […]
Category: Alert View (Message Box)
Message Box (Action Sheet) General
Show a main window message box Alert View will automatically adjust for landscape orientation UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"The username and password entered are not valid" message:nil delegate:nil cancelButtonTitle:@"OK" otherButtonTitles:nil]; ; Show A Message Box If ActionSheet doesn't auto adjust for landscape orientation check the following:- [[UIApplication sharedApplication] setStatusBarOrientation:UIInterfaceOrientationLand scapeRight]; needed in applicationDidFinishLaunching? Supported […]