Entries from 2009-12-15 to 1 day

UIImageViewに貼り付けた画像を回転させる方法

ユーザーがiPhoneを回転させた時に、UIImageViewに貼り付けた画像も同じように回転させる方法を以下に記載する。 1. シンプルなView-based Applicationの場合。 この場合は非常に簡単で、UIImageViewを管理するUIViewControllerのサブクラスでshouldAutorota…