Explorar el Código

The default implementation of [view layoutSubviews] actually does something in iOS 6+, so we should call [super layoutSubviews] when overriding it.

Alex Szpakowski hace 11 años
padre
commit
e02e34521a
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      src/video/uikit/SDL_uikitopenglview.m

+ 2 - 0
src/video/uikit/SDL_uikitopenglview.m

@@ -212,6 +212,8 @@
 
 - (void)layoutSubviews
 {
+    [super layoutSubviews];
+
     [EAGLContext setCurrentContext:context];
     [self updateFrame];
 }