I have a UIScrollView added to a UIView. Now i have added a background image to the scrollVIew.
The image has a fixed size like 320X460. But when the scroll view scrolls further down i can see white colour areas on the scroll view.
How could i prevent this ?
I tried adding the image to the view, and making the scrollview background as clearColor, but it doesn’t work.
[scrollView addSubView:imageView];
self.view = scrollview;
[scrollview setBackgroundColor:[UIColor clearColor]];
Try setting a tileable image as your background color.