Webサーバーからjpeg画像をダウンロードしてUIImageにロードします。ファイルから保存して読み込んだとき、UIImageの表示が異なる
UIImageViewで直接UIImageを表示すると、画像が正しく表示されます。
しかし、私はファイルにイメージをキャッシュする場合:[YES:atoimcally sFilePath UIImageJPEGRepresentation(画像、1.0F)WRITETOFILE]を をし、それをロード:
image=[UIImage imageWithContentsOFile:sFilePath]
and display this in the same UIImageView, I can see white stripes in the sides of the picture.
再び、全く同じUIImageViewオブジェクトその中に同じプロパティ設定があります。
なぜですか?
あなたは、あなたが戻って。 –