Snap Show In iPhone

This is the simple example of SnapShow. We are using a UIScrollView and UIImageViews in this application.

Step 1: Create a new project in Xcode using View-Base application.

Step 2: Add code in your header file :

 

 

Step 3: In the viewcontroller class impliment the below code:

 

 

 

Step 4: We need to impliment the touch function in the controller file for move the image.

 

 

 

Step 6: Now compile your application and run on the simulator. (See figure below)

Figure 1: SnapShow in the Simulator

You can downloaded SourceCode from here SnapShow 2

Leave a Comment: