相机中的电子邮件附件不断从纵向旋转为横向
我有一个代表报价表单的类。我添加了一个按钮来拍照,然后从应用程序内将其添加为附件。在我的 imageView 中,图片显示为纵向(因为它是以这种方式拍摄的),但在电子邮件附件中,它旋转了 90°,因此它是横向的。我该如何解决这个问题?
I have a class that represents a quote form. I have added a button to take a picture and then add that as an attachment from within the app. In my imageView, the picture shows portrait (as it was taken that way), but in the email attachment, it gets rotated 90° so that it is landscape. How can I fix this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我也遇到了同样的问题,但是这段代码解决了它
I have also faced same problem but this code solves it