fix(JitsiMeetView): fix rotation on iOS

The root view was not adjusting it's bounds after device rotation.
This commit is contained in:
paweldomas 2017-11-01 15:52:00 -05:00 committed by Saúl Ibarra Corretgé
parent 3f6f5e7eb9
commit cbd2bb0140
1 changed files with 3 additions and 0 deletions

View File

@ -296,6 +296,9 @@ static NSMapTable<NSString *, JitsiMeetView *> *views;
// Add rootView as a subview which completely covers this one.
[rootView setFrame:[self bounds]];
rootView.autoresizingMask
= UIViewAutoresizingFlexibleWidth
| UIViewAutoresizingFlexibleHeight;
[self addSubview:rootView];
}
}