[SMPageControl](https://github.com/Spaceman-Labs/SMPageControl)可以用来替换UIPageControl。
更多的自定义
- Indicator Size指示器的大小
- Indicator Spacing指示器的间距
- Indicator Alignment指示器对齐方式
- Images as Indicators使用图片作为指示器
- Image Masks as Indicators图片遮罩作为指示器
- Per-Indicator Customization自定义单个指示器
- Directly Tappable Indicators直接点击指示器
- Extensive Support for UIAppearance支持UIAppearance
- Extended Support for UIAccessibility支持UIAccessibility
- iOS 7 Ready适配iOS7
使用例子
SMPageControl *pageControl = [[SMPageControl alloc] init];
pageControl.numberOfPages = 10;
pageControl.pageIndicatorImage = [UIImage imageNamed:@"pageDot"];
pageControl.currentPageIndicatorImage = [UIImage imageNamed:@"currentPageDot"];
[pageControl sizeToFit];
[self.view addSubview:pageControl];