uiapplicationdelegate
Passing data from ViewController to AppDelegate
How can I execute a method in AppDelegate from MainViewController. [super performSelector:@selector(doSomething)];[详细]
2023-03-18 05:16 分类:问答How to call appdelegete method in different class in iphone
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[详细]
2023-03-16 08:06 分类:问答Getting EXC_BAD_ACCESS error while scrolling UITableView
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[详细]
2023-03-14 06:47 分类:问答placing string from one view controller to the delegate
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[详细]
2023-03-13 17:33 分类:问答How do you dismiss a UIActionSheet from the App 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[详细]
2023-03-12 12:43 分类:问答How to load view in appdelegate?
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[详细]
2023-03-11 23:03 分类:问答Is there a way to pass command line options to my iOS app from Xcode?
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[详细]
2023-03-11 13:40 分类:问答iOS: Can openURL ever be nil?
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?[详细]
2023-03-10 21:31 分类:问答in App Delegate do I need to release my "window" and "navigationController"?
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?[详细]
2023-03-09 17:01 分类:问答Alter view before applicationWillEnterForeground
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[详细]
2023-03-08 07:50 分类:问答