title: pagecontrol indicator custom image instead of Default
body: <p><a href="https://stackoverflow.com/questions/2942636/how-i-change-the-color-of-pagination-dots-of-uipagecontrol/4073602#4073602">How can i change the color of pagination dots of UIPageControl?</a> </p>
  
  <p>In this link the sample code is given.But it shows 3 errors for me...</p>
  
  <p>1'st ERROR:</p>
  
  <p>Line:CGRect currentBounds = self.bounds; </p>
  
  <p>Error:requst for member 'bounds' in something not a structure or union </p>
  
  <p>Method:-(void)drawRect:</p>
  
  <p>2nd Err: same error with same line in touchesBegan method. </p>
  
  <p>3rd Err:@protocol PageControlDelegate </p>
  
  <p>@optional </p>
  
  <ul>
  <li>(void)pageControlPageDidChange:(PageControl *)pageControl;</li>
  </ul>
  
  <p>@end</p>
  
  <p>Error:Expected ')' before 'PageControl'  .These are the three errors occurs for me...Please help me out to solve this..</p>
  
  <p>I want to change the pagecontrol indicator(dot) color...</p>
  
  <p>Thanks &amp; Regards,
  Renuga</p>