uiapplicationdelegate
accessing function defined in another class using delegate method
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath { NSLog(@\"didselectrowatindexatpath\");[详细]
2023-04-01 20:00 分类:问答pass data from mainView to a subview
I am building a utility-based application, the data is stored in the MainViewController, andnow I know how to pass data to the FlipsideViewController (many regards to this thread BTW, Sending data fro[详细]
2023-03-29 19:56 分类:问答Can't assign value to a BOOL field in a Singleton
I have this singleton: UserData.h @interface UserData : NSObject { User *user; } + (UserData *)sharedUserData;[详细]
2023-03-28 02:43 分类:问答Short-term UI freeze on applicationWillEnterForeground
I have an app which requires input when resuming from inactive state (a security view).When resuming from inactive after some time, the UI will freeze for 1-5 seconds before entry can take place on th[详细]
2023-03-27 16:56 分类:问答clickedButtonAtIndex in appdelegate is not called
I am calling UIAlert with 2 buttons \"Cancel\" and \"OK\" in MyapplicationAppDelegate.m file , the alert is called but on tap of \"Cancel\" or \"OK\" button[详细]
2023-03-27 03:26 分类:问答iPhone - Referencing the application delegate within a generic class
I a writing a generic class that may be used in different projects by link. At some moment, I call a method on a listener given by the one that owns the object and kept by assign into the class.[详细]
2023-03-24 04:25 分类:问答window addSubview release problem
I was wondering something about the app delegate of my app. Why can\'t I release like this : -(BOOL)application:(UIApplication *)application[详细]
2023-03-22 14:41 分类:问答How to detect what triggered applicationWillResignActive?
I have a Video Chat application that I want to disconnect from a call when the device is locked, but stay connected when an SMS, calendar, low battery or any other type of notification is received. Th[详细]
2023-03-22 05:14 分类:问答Store global local time variables in the database in iphone
I have been trying to store global variables in form of NSDATE but it seems it always gives error. I am trying to grab the current date at the start of the application and then store that date once th[详细]
2023-03-22 04:26 分类:问答How do I present a modal view at application startup?
I have the following code in application didFinishLaunchingWithOptions where I want to present a modal view controller for user login.[详细]
2023-03-21 04:26 分类:问答