Closed anhnt92 closed 6 years ago
How do you rotate into full screen?
Do you have wechat?
It rotate by default, in SJVideoPlayerDefaultControlView. i do nothing. I just have skype.
Can I see all the code for this controller? I can not think of any other reason.
You can download here : https://secufiles.com/5l25/TGCommentVC.m
OK.
Give me a little time, I study it.
THanks.
You can try to delete the code. Run it.
_observer = [[SJOrentationObserver alloc] initWithTarget:self.view container:self.view.superview];
// must imp it.
_observer.rotationCondition = ^BOOL(SJOrentationObserver * _Nonnull observer) {
return YES;
};
And
-(BOOL)shouldAutorotate
{
return _isShouldRotate;
}
-(UIInterfaceOrientationMask)supportedInterfaceOrientations
{
return UIInterfaceOrientationMaskAll;
}
Its not work. Please help me.
Do you have Twitter?
changsanjiang is me.
Yes, i have. "anhnt592"
Can you check this class code for me. ` _videoPlayer = [SJVideoPlayer player];
I don't know why?Thanks.