diff -r 3ce59cbecaa3 include/SDL_config_iphoneos.h --- a/include/SDL_config_iphoneos.h Wed Jul 14 21:25:15 2010 -0700 +++ b/include/SDL_config_iphoneos.h Sat Jul 17 04:29:53 2010 +0200 @@ -152,4 +152,7 @@ */ #define SDL_IPHONE_MAX_GFORCE 5.0 +/* Tag to grab the uikit view from external code for further modification */ +#define SDL_VIEW_TAG 456987 + #endif /* _SDL_config_iphoneos_h */ diff -r 3ce59cbecaa3 src/video/uikit/SDL_uikitopengles.m --- a/src/video/uikit/SDL_uikitopengles.m Wed Jul 14 21:25:15 2010 -0700 +++ b/src/video/uikit/SDL_uikitopengles.m Sat Jul 17 04:29:53 2010 +0200 @@ -114,7 +114,7 @@ bBits: _this->gl_config.blue_size \ aBits: _this->gl_config.alpha_size \ depthBits: _this->gl_config.depth_size]; - + view.tag = SDL_VIEW_TAG; data->view = view; /* add the view to our window */