Archive for September, 2011

Customize UIPageControl

Posted: September 12, 2011 in iPhone

for (NSUInteger subviewIndex = 0; subviewIndex < [pageView.subviews count]; subviewIndex++) {
UIImageView* subview = [pageView.subviews objectAtIndex:subviewIndex];
if (subviewIndex == page) [subview setImage:[UIImage imageNamed:@”round.png”]];
}