pagecontrol indicator custom image instead of Default
Posted
by
iphonecool
on Stack Overflow
See other posts from Stack Overflow
or by iphonecool
Published on 2011-01-06T11:55:44Z
Indexed on
2011/01/06
13:53 UTC
Read the original article
Hit count: 216
iphone
|uipagecontrol
How i change the color of pagination dots of UIPageControl?
In this link the sample code is given.But it shows 3 errors for me...
1'st ERROR:
Line:CGRect currentBounds = self.bounds;
Error:requst for member 'bounds' in something not a structure or union
Method:-(void)drawRect:
2nd Err: same error with same line in touchesBegan method.
3rd Err:@protocol PageControlDelegate
@optional
- (void)pageControlPageDidChange:(PageControl *)pageControl;
@end
Error:Expected ')' before 'PageControl' .These are the three errors occurs for me...Please help me out to solve this..
I want to change the pagecontrol indicator(dot) color...
Thanks & Regards, Renuga
© Stack Overflow or respective owner