uiapplicationdelegate
access methods and variables in first navigation controller from pushed view
I normally use UIViews to make my apps - but this one I am using a navigationcontroller. I am pushing a view to the top where I want to add items to an array. However, I cannot access the main navigat[详细]
2023-01-19 04:45 分类:问答iPhone: invalidate NSTimer from app delegate crashes app
I am trying to run a method from my app delegate, that saves an object in other class as well as invalidates a timer.I have it set up so that when my app exits, it runs the method in my class and save[详细]
2023-01-16 07:17 分类:问答Handling applicationDidBecomeActive - "How can a view controller respond to the app becoming Active?"
I have the UIApplicationDelegate开发者_C百科 protocol in my main AppDelegate.m class, with the applicationDidBecomeActive method defined.[详细]
2023-01-14 23:44 分类:问答objective C Basic question
i made a simple application using view based template.and i put only nsloginside view didload methodin viewController file and also inside applicationDidFinishLaunch method (in appDelegate)to checked[详细]
2023-01-12 03:56 分类:问答Is it possible to subclass UiApplicationDelegate protocol?
To be honest I don\'t know how to call it, so I\'ll try to describe it. UIApplicationDelegate protocol has \"application:handleOpenURL:\" method. And if I implement this method in my ApplicationDeleg[详细]
2023-01-11 18:13 分类:问答Behaviour for significant change location API when terminated/suspended?
This is the section from the CLLocationManager documentation describing the app behavior with startMonitoringSignificantLocationChanges:[详细]
2023-01-10 16:53 分类:问答Can Objects Call the Main Application?
Please bear with me, this is probably a very simple problem for an expert but I\'m new to the language.[详细]
2023-01-10 07:40 分类:问答In iOS4 applicationWillEnterForeground may get called before applicationDidEnterBackground and it makes problem
In iOS 4, if I close & re-open my app rapidly then (after applicationWillResignActive invocation) there is a chance forapplicationWillEnterForegroundto be get called well before theapplicationDidE[详细]
2023-01-08 01:23 分类:问答Putting iPhone into Sleep Mode programmatically
I had used the following code to prevent the iPhone from entering the sleep mode. [UIApplication sharedApplication].idleTimerDisabled=YES[详细]
2023-01-06 11:25 分类:问答UIView (subview) does not send IBActions to AppDelegate
I\'m having this problem because I originially made everything in the main NIB, but then after reading learned that it is better to use subviews.[详细]
2023-01-05 08:41 分类:问答