0

I would like to know how PAGINATION is done using a "SWIPE".

Got a page with the name "Account Details" and this "Account Details" page should have around 4 PAGEs within that Account Details of 4 more accounts.

These has got the information about the BANKING account details. So how is the PAGINATION done. for these 4 PAGEs keeping "Account Details" as the main page.

Please help me....!!!!!!

User97693321
  • 3,336
  • 7
  • 45
  • 69
Nishan29
  • 353
  • 1
  • 4
  • 16

2 Answers2

0

If i correctly understand what you want, you should use UIScrollView! Add this to your viewDidLoad:

UIScrollView *scrollView = [[UIScrollView alloc] initWithFrame:self.view.bounds];
scrollView.contentSize = CGSizeMake(4 * self.view.bounds.width, 1); // 1 = hack to disable possible verticalBouncing
scrollView.pagingEnabled = YES;
/* add your pages as subviews here */
[self.view addSubview:scrollView];
[scrollView release];
Martin Ullrich
  • 94,744
  • 25
  • 252
  • 217
0

You should be using the UIPageControl. Very straightforward.

Akshay
  • 5,747
  • 3
  • 23
  • 35