iPhone:我调整联系人图像的大小,但是当该人打电话时,图片没有缩放到屏幕大小 [英] iPhone: I resize a contact's image, but when that person is calling, the picture isn't scaled to the screen size

查看:109
本文介绍了iPhone:我调整联系人图像的大小,但是当该人打电话时,图片没有缩放到屏幕大小的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们有一个应用程序,可以调整iPhone联系人图片的大小,然后将其保存回通讯簿中。



当Jim拥有正常的1200 x 1600的图片时,他在给我打电话时,该图片会在iPhone屏幕上正确缩放,以便显示整个图片。 / p>

当我将此图像调整为320 x 420大小并将其保存在通讯簿中时,图片不再缩放,而是被炸毁,因此我看到了图片的中心。



这个人以前有没有经历过?



谢谢!

解决方案 div>

显然这是iPhone中的错误。很多用户都经历过,通过API更新图片时,图片无法正确缩放。



我最终只是调整了图片的大小,使其足以显示出来。在屏幕的右上角,而不是期望有人打电话时调整它们的大小。


We have an app that resizes iPhone contact pictures and then saves them back in the address book.

When Jim has a normal 1200 x 1600 picture, and he is calling my phone, the picture gets correctly scaled within the iPhone screen so that it shows the whole picture.

When I resize this image to a 320 x 420-something, and save it in the address book, the picture no longer gets scaled, but gets 'blown up' so that I see the center of the picture.

Is this someone has experienced before? Is it a coding error, or a bug in the iPhone?

Thanks!

解决方案

Apparently this is a bug in the iPhone. A lot of users have experienced that when a picture gets updated through the API, it won't scale correctly.

I ended up just resizing the pictures small enough to be displayed in the top right corner of the screen, instead of expecting them to be resized when someone is calling.

这篇关于iPhone:我调整联系人图像的大小,但是当该人打电话时,图片没有缩放到屏幕大小的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆