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-02 14:32:35 +01:00
committed by Saúl Ibarra Corretgé
parent 3f6f5e7eb9
commit cbd2bb0140
+3
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];
}
}