PDA

View Full Version : UIScrollview acting strange




portreathbeach
May 22, 2011, 06:08 AM
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.



portreathbeach
May 22, 2011, 07:22 AM
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.