Constraints are lost when i change InterfaceOrientation to UIInterfaceOrientationLandscapeRight

first ,i present a new viewcontroller named videoViewController

then i use three apis to change videoViewController'interfaceOrientation to UIInterfaceOrientationLandscapeRight

```

- (BOOL)shouldAutorotate{

return NO;

}


- (UIInterfaceOrientationMask)supportedInterfaceOrientations{

return UIInterfaceOrientationMaskLandscapeRight;

}


- (UIInterfaceOrientation)preferredInterfaceOrientationForPresentation{

return UIInterfaceOrientationLandscapeRight;

}


```

the result is videoViewController.view.subview.constraints lost in sometimes, like the pic.

More often it is normal, but its appearance is irregular


my english is poor , if you can't understand me , tell me , i will show you more


Replies

oh , the pic is here


https://photos.app.goo.gl/8SZbeLBEyXFZeCcz8