src/video/uikit/SDL_uikitappdelegate.m
branchiOS-improvements
changeset 9524 9de159f9cefd
parent 9518 4bd15ffec1ad
child 9531 b7ad394978b1
equal deleted inserted replaced
9523:9cbd69cac7ed 9524:9de159f9cefd
   111 }
   111 }
   112 
   112 
   113 - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
   113 - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
   114 {
   114 {
   115     /* Set working directory to resource path */
   115     /* Set working directory to resource path */
   116     [[NSFileManager defaultManager] changeCurrentDirectoryPath: [[NSBundle mainBundle] resourcePath]];
   116     [[NSFileManager defaultManager] changeCurrentDirectoryPath:[[NSBundle mainBundle] resourcePath]];
   117 
   117 
   118     /* register a callback for the idletimer hint */
   118     /* register a callback for the idletimer hint */
   119     SDL_AddHintCallback(SDL_HINT_IDLE_TIMER_DISABLED,
   119     SDL_AddHintCallback(SDL_HINT_IDLE_TIMER_DISABLED,
   120                         SDL_IdleTimerDisabledChanged, NULL);
   120                         SDL_IdleTimerDisabledChanged, NULL);
   121 
   121