[SDL] Showing a UIViewController on an SDL based iOS project

Vittorio G. vitto.giova at yahoo.it
Mon Jul 18 06:06:44 PDT 2011


That's exactly how I implemented my application; I have subclassed the
sdlappuikitdelegate and created my objc frontend, then i call some code that
instances a second uiwindow and fills it with a sdl context
More details here:
http://code.google.com/p/hedgewars/source/browse/project_files/HedgewarsMobile/Classes/HedgewarsAppDelegate.m

bye
Vittorio

On Sun, Jul 17, 2011 at 11:47 PM, michelleC <michelle at mooncatventures.com>wrote:

> **
>
>
> Sure, but thats usually how an iphone app is structured, one window but x
> number of viewcontrollers.
>
> multiple windows don't make sense on the iphone
>
> However I guess you could have two windows and swap between them.
>
>
> http://code.google.com/p/ffmpeg4iphone/source/browse/WebStreamx/WebStreamXNoLibs/uikit/SDL_uikitappdelegate.m
> SDL mailing list
>
>
> http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
>
>
>
> _______________________________________________
> SDL mailing list
> SDL at lists.libsdl.org
> http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20110718/238e2bd6/attachment-0008.htm>


More information about the SDL mailing list