How can i change the page on clicking the dots of UIPageControl
问题 Here I have a pagecontrol which works good but on clicking on dot it doesn't change the page so please help in the function of changepage: - (void)viewDidLoad { scrollView=[[UIScrollView alloc]initWithFrame:CGRectMake(0, 0, 320, 420)]; scrollView.delegate = self; [self.scrollView setBackgroundColor:[UIColor whiteColor]]; [scrollView setCanCancelContentTouches:NO]; scrollView.indicatorStyle = UIScrollViewIndicatorStyleWhite; scrollView.clipsToBounds = YES; scrollView.scrollEnabled = YES;