简体   繁体   中英

how can i rotate my screen shot image in IPhone?

I am a newbie in IPhone programming.I was sending one of my views screen shot as email.How can i rotate my screen shot image to 270 degree to make it suitable for me ? Any help will be greatly appreciated..

将图像加载到UIImageview中,然后尝试。

myImgView.transform = CGAffineTransformMakeRotation(270);

Open the photo in Preview, find "rotate right"/"rotate left" in the tools menu.

This question would be better asked on supper user -- stack overflow is reserved for programing or near programing questions.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM