浏览代码

fix(JitsiMeetView): fix rotation on iOS

The root view was not adjusting it's bounds after device rotation.
master
paweldomas 8 年前
父节点
当前提交
cbd2bb0140
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3
    0
      ios/sdk/src/JitsiMeetView.m

+ 3
- 0
ios/sdk/src/JitsiMeetView.m 查看文件

296
 
296
 
297
         // Add rootView as a subview which completely covers this one.
297
         // Add rootView as a subview which completely covers this one.
298
         [rootView setFrame:[self bounds]];
298
         [rootView setFrame:[self bounds]];
299
+        rootView.autoresizingMask
300
+            = UIViewAutoresizingFlexibleWidth
301
+                | UIViewAutoresizingFlexibleHeight;
299
         [self addSubview:rootView];
302
         [self addSubview:rootView];
300
     }
303
     }
301
 }
304
 }

正在加载...
取消
保存