Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

52 lines (33 sloc) 1.463 kb

SliderPageControl for iOS

This is an alternative for UIPageControl. See video here

Required Files

  1. SliderPageControl.h
  2. SliderPageControl.m
  3. SliderPageControl.bundle/images/sliderPageControl.png
  4. SliderPageControl.bundle/images/sliderPageControlBg.png


1) To integrate SliderPageControl, drag the files above to your XCode Project, and add to your view.

 #import SliderPageControl.h

2) set number of pages

- (void)setNumberOfPages:(int)page

3) returns the current page

- (int)currentPage

4) set the current page. set animated=YES to animate the control

- (void)setCurrentPage:(int)_currentPage animated:(BOOL)animated

5) set page title that is visible when the control is dragged

- (NSString *)sliderPageController:(id)controller hintTitleForPage:(NSInteger)page

6) Skinning SliderPageControl To skin SliderPageControl, use the provided PSD file to change the control image (sliderPageControl.png) and the background (sliderPageControlBg.png)

You can find more information about SliderPageControl at the link below


  • ARC
  • XCode 4.4 (auto-synthesis)



Jump to Line
Something went wrong with that request. Please try again.