The default implementation of [view layoutSubviews] actually does something in iOS 6+, so we should call [super layoutSubviews] when overriding it. iOS-improvements
authorAlex Szpakowski <slime73@gmail.com>
Mon, 21 Jul 2014 02:46:53 -0300
branchiOS-improvements
changeset 9496 abc8df8ce987
parent 9495 76e878c8ca80
child 9497 fa0f79fc320d
The default implementation of [view layoutSubviews] actually does something in iOS 6+, so we should call [super layoutSubviews] when overriding it.
src/video/uikit/SDL_uikitopenglview.m
--- a/src/video/uikit/SDL_uikitopenglview.m	Thu Jul 17 22:55:59 2014 -0300
+++ b/src/video/uikit/SDL_uikitopenglview.m	Mon Jul 21 02:46:53 2014 -0300
@@ -212,6 +212,8 @@
 
 - (void)layoutSubviews
 {
+    [super layoutSubviews];
+
     [EAGLContext setCurrentContext:context];
     [self updateFrame];
 }