Reputation: 2992
I need help with UIPageControl
. In my application I've made an UISCrollView
Width: 640
Height: 300
Paging enabled
Horizontal Scroll Only
- (void)viewDidLoad
{
[ScrollView setContentSize:CGRectMake (640, 300)];
[super viewDidLoad];
}
I want UIPageControl
to change the number of the page when the users scroll the view and surpass 320 pix, like in the iPhone Springboard.
Upvotes: 0
Views: 3549
Reputation: 51374
Try this tutorial,
http://www.edumobile.org/iphone/iphone-programming-tutorials/pagecontrol-example-in-iphone/
Upvotes: 1