I had a problem with iOS 5.1 on the iPad where I used colorWithPatternImage in a UIScrollView, for example:
scrollView.backgroundColor = [UIColor colorWithPatternImage:[UIImage imageNamed:@"YOURIMAGE.jpg"]];
This works in iOS 6 (e.g. iPad2 and later), however, on the original iPad, where you can upgrade iOS to 5.1.1, it will show a white or other solid color that you have defined somewhere. The fix is ββto use a slightly less attractive method in which you set the backgroundView scrollview as follows:
scrollView.backgroundView = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"YOURIMAGE.png"]];
I tested this on iOS 6 and iOS 5.1, so it should also apply to the iPhone if you have problems with it.
whyoz
source share