Commit dc564a22 authored by Sam Lantinga's avatar Sam Lantinga

Delegate should use application: didFinishLaunchingWithOptions:

Vittorio G.  to Sam

would it be possible to update the application delegate in
SDL_uikitappdelagate to the suggest new method
parent fb23223d
......@@ -85,13 +85,15 @@ int main(int argc, char **argv) {
exit(exit_status);
}
- (void)applicationDidFinishLaunching:(UIApplication *)application {
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
/* Set working directory to resource path */
[[NSFileManager defaultManager] changeCurrentDirectoryPath: [[NSBundle mainBundle] resourcePath]];
[self performSelector:@selector(postFinishLaunch) withObject:nil
afterDelay:0.0];
return YES;
}
- (void)applicationWillTerminate:(UIApplication *)application {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment