MGD
MGD

Reputation: 783

Switching views with page control

I am making an app in iphone and i want my views to change just like we do (swipe) in page control, I am wondering is there any way to use page control for the required functionality? or what could be the alternative?

Regards MGD

Upvotes: 0

Views: 1443

Answers (2)

Praveen S
Praveen S

Reputation: 10393

You can use uiscrollview with horizontal scrolling. You need to put the next view in place when the scroll view detects that the user has swiped enough to display the next view. I can give you more details if you update your question with more details, like will the views take up full screen or you want it to be like a coverflow effect.

Upvotes: 1

Felix
Felix

Reputation: 35394

Yes of course it is possible.

There is a sample project from Apple: PageControl

http://developer.apple.com/library/ios/#samplecode/PageControl

Upvotes: 1

Related Questions