The default implementation of [view layoutSubviews] actually does something in iOS 6+, so we should call [super layoutSubviews] when overriding it.
diff --git a/src/video/uikit/SDL_uikitopenglview.m b/src/video/uikit/SDL_uikitopenglview.m
index 80335e7..48f5981 100644
--- a/src/video/uikit/SDL_uikitopenglview.m
+++ b/src/video/uikit/SDL_uikitopenglview.m
@@ -212,6 +212,8 @@
- (void)layoutSubviews
{
+ [super layoutSubviews];
+
[EAGLContext setCurrentContext:context];
[self updateFrame];
}