| Summary: | move hint registration from SDLUikitAppDelegate | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Vittorio Giovara <vitto.giova> |
| Component: | video | Assignee: | Sam Lantinga <slouken> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | trivial | ||
| Priority: | P2 | ||
| Version: | HG 2.0 | ||
| Hardware: | iPhone/iPod touch | ||
| OS: | iOS (All) | ||
| Attachments: | fix of the problem | ||
Fixed, thanks! http://hg.libsdl.org/SDL/rev/bc8de0568373 |
Created attachment 889 [details] fix of the problem When subclassing SDLUikitAppDelegate you usually override the -postFinishLaunch method so that you can (for example) call a different function than SDL_main. As it is now, however, overriding -postFinishLaunch will bar out the SDL_SetHint for the idle timer. Attached a simple patch the moves the hint callback to the -application:didiFinishLaunchingWithOptions: