Reputation: 10759
I am trying to move the UIPageControl dots so they are not centered. Is this possible? I created my own PageControl class, but the bounds are show the width at 185. I can't seem to change the width to make it as wide as the UIWindow (320)?
Any suggestions?
CGRect currentBounds = self.bounds; <--- always 185 width
Upvotes: 2
Views: 1320
Reputation: 9168
You don't need to change the width. Simply move the control:
[self setFrame:CGRectMake(x, y, self.frame.size.width, self.frame.size.height]
Upvotes: 2