http://vocaro.com/trevor/blog/2009/10/12/resize-a-uiimage-the-right-way/ 转载于:https://www.cnblogs.com/ihojin/p/resize-image-right-way.html