UIScrollview acting strange

Discussion in 'iOS Programming' started by portreathbeach, May 22, 2011.

  1. macrumors member

    Feb 19, 2011
    I have a UIScrollView with a background image and when I run xcode in the ios4.3 simulator it all works fine. If I change to 4.2, 4.1 or 4.0 simulator, the scroll view background image scrolls twice as much as the content does!!!

    I cannot figure out what the problem is, and as my app is on the app store I need to sort the problem and release an update pretty quick.

    Thanks in advance.
  2. thread starter macrumors member

    Feb 19, 2011
    OK. I've worked it out. I read a few other forums which had the same problem. I ended up adding a UIImage as a subview on my scroller, and set the image of that. It works fine now.

    I suppose that may have been a bug up to 4.3 and now Apple have fixed it.

Share This Page