We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
使用Xcode8,用iPhone7或iPhone7plus运行demo, DrawertypeList -> drawerBottom(仿淘宝) -> 点我或向上滑动, 执行动画的底部viewcontroller变成纯白色,同样是iOS10,其他机型没出现该问题。
The text was updated successfully, but these errors were encountered:
我也遇到这个问题,请问你解决了吗?
Sorry, something went wrong.
是 iPhone7或iPhone7plus 中的UIView *fromTempView = [fromVC.view snapshotViewAfterScreenUpdates:NO];失效 改成
(UIView *)imageFromView:(UIView *)snapView { UIGraphicsBeginImageContext(snapView.frame.size); CGContextRef context = UIGraphicsGetCurrentContext(); [snapView.layer renderInContext:context]; UIImage *targetImage = UIGraphicsGetImageFromCurrentImageContext(); UIGraphicsEndImageContext();
UIImageView *tmpView = [[UIImageView alloc] initWithImage:targetImage]; snapView.frame = snapView.frame; return tmpView; }
谢谢,的确是坑爹的iPhone7和7p的ScreenUpdates相关API失效导致截屏失败而出现白屏了,现已修复!
No branches or pull requests
使用Xcode8,用iPhone7或iPhone7plus运行demo,
DrawertypeList -> drawerBottom(仿淘宝) -> 点我或向上滑动,
执行动画的底部viewcontroller变成纯白色,同样是iOS10,其他机型没出现该问题。
The text was updated successfully, but these errors were encountered: