Has anybody tried Apple's sample code PhotoScroller on iPad. I am getting a few errors, I guess it's due to the fact that the used libraries are iOS 4.0 only.
Any help would be appreciated.
Errors that I am getting:
error: request for member 'contentScaleFactor' in something not a structure or union on :: imageView.contentScaleFactor = 1.0;
error: incompatible types in initialization and warning: 'UIScreen' may not respond to '-scale' on :: CGFloat maxScale = [[UIScreen mainScreen] scale];