How to adapt this iPhone paging control to images instead of colors
<pre><code>+ (UIColor *)pageControlColorWithIndex:(NSUInteger)index {
    if (__pageControlColorList == nil) {
        __pageControlColorList = [[NSArray alloc] initWithObjects:[UIColor grayColor], [UIColor greenColor], [UIColor magentaColor],
                                  [UIColor blueColor], [UIColor orangeColor], [UIColor brownColor], [UIColor redColor], nil];
    }
    return [__pageControlColorList objectAtIndex:index % [__pageControlColorList count]];
}
</code></pre>

<p>in this above code,i want to repalce the colors display in each page by changing it to uiimages,,i want to load images insted of colors ,,what can i do to solve this problem,,please help</p>

<p>thankzz</p>
