0

I want to hide the bottom dots from UIPageviewcontroller, I successfully hide the bottom dots(Page control) by removing these methods.

- (NSInteger)presentationCountForPageViewController:(UIPageViewController *)pageViewController {
    // The number of items reflected in the page indicator.
    return viewCount;
}
- (NSInteger)presentationIndexForPageViewController:(UIPageViewController *)pageViewController {
    // The selected item reflected in the page indicator.
    return 0;
}

The problem is when i hide this, the inner content (UIViewcontroller) going 20 pixels down,but When i touch the view it will automatically goes 20 pixels up.How i can fix this issue?

Yuyutsu
  • 2,509
  • 22
  • 38
Akhtar
  • 3,172
  • 5
  • 19
  • 21

0 Answers0