OpenEyesDemo icon indicating copy to clipboard operation
OpenEyesDemo copied to clipboard

UIDeviceOrientationPortrait

Open ZackKingS opened this issue 8 years ago • 1 comments

Your app is very great . I have found a problem that this app orientation fail to come Portrait when p video finished playing ,i fix this problem by by doing this in "PlayVideoViewController.m "

  • (id<UIViewControllerAnimatedTransitioning>)animationControllerForDismissedController:(UIViewController *)dismissed{ //这里我们初始化dismissType _transitionManage.type = HyPresentOneTransitionTypeDismiss;

    [[UIDevice currentDevice] setValue:@(UIDeviceOrientationPortrait) forKey:@"orientation"]; // return _transitionManage; }

ZackKingS avatar Dec 22 '16 03:12 ZackKingS

you have done a good job

Jack-Rain avatar Feb 24 '17 06:02 Jack-Rain