PDA

View Full Version : Doubt in sliding page




iphonejudy
Aug 7, 2009, 03:04 AM
I want to do sliding pages.

For that I want to add multiple views(view1,view2,view3,view4) in my scroll view.

Can anyone please help me?



iphonejudy
Aug 7, 2009, 07:30 AM
We are adding multiple images in the scrollview know(Samplecode:scrollling)

Like, Can we add multiple views in a single scrollview?

AndyCodez
Aug 7, 2009, 08:06 AM
I didn't try this but this link has some sample code that might answer a few of your questions.

http://www.iphonedevsdk.com/forum/iphone-sdk-tutorials/9213-detect-touch-scrollview-tutorial.html

iphonejudy
Aug 10, 2009, 06:51 AM
I have added 4 views in my scrollview.

If i click a button.The first view will be show and if i scroll,I can see other views also.

What i want to do is.I want to show the second view when i click the button.

[By default the scrollview always display the first view know?]

Is it possible?

How can we do this?