Skip to content
New issue

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

图片比例不够填满屏幕时会添加黑边 #3

Open
howie95 opened this issue Aug 10, 2018 · 1 comment
Open

图片比例不够填满屏幕时会添加黑边 #3

howie95 opened this issue Aug 10, 2018 · 1 comment

Comments

@howie95
Copy link

howie95 commented Aug 10, 2018

ios小白,clone下来学习了一下,发现如果在相册里选了一张比例不够填满屏幕的图片的时候,会给图片加上黑边,最后保存的时候也会保存下来,不知道这是特性还是bug 0 0

@whbalzac
Copy link
Owner

保存图片是,截图区域是全屏(图片以外区域设置为黑色),所以存在黑边。
刚好呀,你可以找一下截图的代码,修改为图片对应的区域~ 相信有实践的价值~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants