ios-改变UIPageControl的颜色

- (void) updateDots

{

NSArray *subView = pageControl.subviews;

for (int i =0; i < [subView count]; i++) 

{

UIImageView *dot = [subViewobjectAtIndex:i];

dot.image = (self.currentPage == i ?imagePageStateHightlighted : imagePageStateNormal);

}

}



你可能感兴趣的:(ios-改变UIPageControl的颜色)