How can I execute a method in AppDelegate from MainViewController. [super performSelector:@selector(doSomething)];
I have a database with 10 tables. As I need to access this database in different view controllers, I have to declare the two methods shown below in each of th开发者_开发技巧em. Is there a way I can av
I have loaded data of my apps in UITableView from array declared in AppDelegate. But when I try to scroll the table view I am getting EXC_BAD_ACCESS error. Following is the code that I have used for c
having issues getting a value from a NSString in my view controller to my delegate. The issue is the userId string. it comes back with an error in the delegate
I\'m trying to dismiss a UIActionSheet from the app delegate so that it doesn\'t show again when you return from background. I\'ve tried to dismiss the action sheet from the viewDidUnload or viewDidDi
I am checking internet connection availability in application delegate. But instead of displaying alert view for no internet connection, i need to load a view or addsubview to the application. Also i
I\'m hoping to find a method to pass certain information in to my app when 开发者_Python百科I launch it during testing, so that I can perform special debug tasks. Xcode has a section \"Arguments Passe
For -[UIApplicationDelegate application:openURL:sourceApplication:annotation:], can the URL ever be nil? I\'m asking because I saw someone put in a check if (url) // ..., but isn\'t that unnecessary?
In App Delegate do I: need to release my \"window\" and \"navigationController\"? and where abouts should I release it out of (a) applicationDidReceiveMemoryWarning and (b) dealloc?
I want to lock users out of my app after a period of being in the background.I\'m catching this in the the AppDelegate\'s applicationWillEnterForeground (and comparing to time stored in applicationWil