The default implementation of [view layoutSubviews] actually does something in iOS 6+, so we should call [super layoutSubviews] when overriding it.
This commit is contained in:
parent
e234575d54
commit
e02e34521a
1 changed files with 2 additions and 0 deletions
|
@ -212,6 +212,8 @@
|
|||
|
||||
- (void)layoutSubviews
|
||||
{
|
||||
[super layoutSubviews];
|
||||
|
||||
[EAGLContext setCurrentContext:context];
|
||||
[self updateFrame];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue