开发者

Are there UIImageView differences between 4.2 and 4.3?

开发者 https://www.devze.com 2023-03-01 23:06 出处:网络
I am pulling down some images and saving them to disk. Then dishing them out via UIImageView. All works well in simulator under 4.2, but as soon as I swit开发者_Python百科ch it over to 4.3 all of the

I am pulling down some images and saving them to disk. Then dishing them out via UIImageView.

All works well in simulator under 4.2, but as soon as I swit开发者_Python百科ch it over to 4.3 all of the images are displayed inverted (they are xrays.. the black & white is reversed)

Any suggestions? I am just using

UIImageView *seriesImage = [[UIImageView alloc] initWithImage:[UIImage imageWithContentsOfFile:pathToImage]];

It works fine on 4.2, but not 4.3

any suggestions or ideas?


I'd be shocked if there was any noticeable change in how UIImageView renders images between OS versions. The simulator isn't always totally reliable, so I'd recommend testing your code on a device running iOS 4.3.

0

精彩评论

暂无评论...
验证码 换一张
取 消