App Crashing when using large images on iOS 4.0

后端 未结 3 1104
闹比i
闹比i 2020-12-15 14:03

I\'ve been having a problem to show large images on a scrollview, the images are 2,4 - 4,7 MB. It runs fine on the 3GS and on the simulator. But whenever I try to run on a 3

3条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-15 14:40

    I ended up using UIWebView, I had to use smaller (in MB, not dimensions) images but it's working on, the only problem Is that I can't zoom... Using the scalePageToFit I can zoom but the image fits horizontally not vertically, that sux.

    I will try to keep this issue updated.

    If someone has this problem I would advice to use webview or an adapter version of three20 image viewer that handles memory better.

提交回复
热议问题