uiapplicationdelegate
Remove annotation from MKMapView which is in another view
I have two views.The first is a MKMapView with some annotations.Clicking a UIButton pushes a second view on the stack.This has a UITableView with a list of annotations which correspond to the map anno[详细]
2022-12-31 15:44 分类:问答How do I call a method of the app delegate from a UIViewController?
Situation: I am using the \"Navigation Based Application\" project template. And my root view controller (UIViewController) needs to call a method of the app delegate.[详细]
2022-12-30 22:21 分类:问答How much should the AppDelegate do?
I\'m designing quite a large App and on startup it will create sessions with a few different servers. As they are creating a session which is used across all parts of the app its something I thought w[详细]
2022-12-30 14:32 分类:问答Saving data - does work on Simulator, not on Device
I use NSData to persist an image in my application. I save the image like so (in my App Delegate): - (void)applicationWillTerminate:(UIApplication *)application[详细]
2022-12-28 02:50 分类:问答What is a "delegate" in Objective C's iPhone development? [duplicate]
This question already has answers here: 开发者_Python百科 How do I create delegates in Objective-C?[详细]
2022-12-25 02:29 分类:问答referencing an instantiated object in another class in objective C
I am working in xcode on an ipod app in objective C, and I have a field (navigationController) in one of my classes (rootViewController).How do I reference the instantiated rootViewController\'s navig[详细]
2022-12-23 18:49 分类:问答View Controller's viewDidLoad method finishing before applicationDidFinishLaunching
I\'m creating a fairly complex iPhone app using Core Data. Up until now, things have been working fine. As the app has been getting more complex, however, a new problem has come up: the first view con[详细]
2022-12-23 06:01 分类:问答iphone global settings - best way to implement it?
I\'d like to have some settings th开发者_如何转开发at I can access from anywhere in my app. Is there a best way to implement this? Right now I\'m just sticking properties in my app delegate, then acce[详细]
2022-12-20 11:56 分类:问答Where does UIApplication's handleOpenURL 'Return' to exactly?
I\'m working on a handling a custom URL Scheme in an app and am trying to sort out: - (BOOL)applicati开发者_如何学Goon:(UIApplication *)application handleOpenURL:(NSURL *)url[详细]
2022-12-17 16:52 分类:问答UIApplication sharedAppication error: program seems to be accessing wrong file
in my MainViewController implementation, I need to access variables from two different classes. one of the classes is the AppDelegate and the other is the FlipsideViewController.[详细]
2022-12-17 01:18 分类:问答