This app is a fork of the sample Xcode project PhotoScroller:
"'PhotoScroller' demonstrates the use of embedded UIScrollViews and CATiledLayer to create a rich user experience for displaying and paginating photos that can be individually panned and zoomed. CATiledLayer is used to increase the performance of paging, panning, and zooming with high-resolution images or large sets of photos."
To see a demo video, click the screenshot (right). =>
-
I added a Welcome UIAlertView that shows app usage instructions upon initial app launch.
-
I removed the ImageData.plist file since I wanted all of my images to be the same size, 1024x1536 px, and have the same naming pattern
page_i
. -
I added two very useful & time-saving Photoshop scripts: One for resizing & tiling/slicing/cropping images, and one for creating all icon versions from the iTunesArtwork, 512x512-px image.
-
I made some other small changes, like style changes, changing the
tiledLayer.levelsOfDetail
from4
to2
, moving the photos to their own directory calledPhotos
, and perhaps other small changes. I recommend doing adiff -r
to compare PicSciP with PhotoScroller.
After rotating the device from portrait to landscape and back again, the padding
is displayed on screen, but it shouldn't be. Setting PADDING
to 1
to
ameliorate this issue causes the page navigation to break after rotating the
device from portrait to landscape and back again. Setting PADDING
to 2
is
the working compromise I chose. I wrote Apple about this. Please send me a pull
request if you fix this issue. Thanks!
Each of the three photos in this app was:
- downloaded, on November 24, 2010, from Flickr & licensed under the Attribution 2.0 Generic Creative Commons license.
- provided by julien haler (titlap) on Flickr.
- cropped and/or resized from its original.
The photos are listed below in the same order they appear in the app. The app icon is a derivative of the first photo.