---
title: "Swiping pages using UIPageViewController"  
description: "Swiping pages using UIPageViewController"  
author: "Anonymous User"  
published: 2015-10-30  
updated: 2015-10-30  
canonical: https://www.mindstick.com/forum/33547/swiping-pages-using-uipageviewcontroller  
category: "iphone"  
tags: ["iphone", "ios", "objective c"]  
reading_time: 1 minute  

---

# Swiping pages using UIPageViewController

I have creating an app using [page](https://www.mindstick.com/articles/13031/why-to-make-a-wikipedia-page) view in iPhone, in this app we swiping pages like iPhone or other smartphone [devices](https://www.mindstick.com/blog/301912/how-smart-devices-are-changing-our-lives) [shows](https://yourviews.mindstick.com/view/81380/new-york-violent-shooting-shows-people-are-not-safe-in-night-life) its main menu, and also I have created successfully and [enabling](https://yourviews.mindstick.com/view/86018/ai-and-5g-enabling-the-internet-of-things-iot) [transition](https://answers.mindstick.com/qa/94090/a-material-is-dimensionally-stable-at-room-temperature-if-its-glass-transition-temperature-tg-is) [style](https://www.mindstick.com/articles/126300/apa-citation-style-get-to-know-about-it-for-your-next-assignment) as Scroll on page [view controller](https://www.mindstick.com/forum/33709/how-to-use-table-view-controller-with-small-sized-in-ios), after that its looking like this..

![Swiping pages using UIPageViewController](https://www.mindstick.com/mindstickforums/94950f21-42b1-432f-aecc-ac9e4359858d/images/c28d374e-0a13-460a-b745-c3899743ee9e.png)

but here is an issue in my app, I am unable to show dots for each view on the bottom and I can't resolve this problem.\
can any one who help me to solve my problem.

## Replies

### Reply by Tarun Kumar

Your problem is not an issue because to display dots of page views needs to implement two more methods of UIPageViewController in your code:\
these are the two methods:

```
-(NSInteger) presentationCountForPageViewController:(UIPageViewController *)pageViewController{  return 3;}//above method is responsible for displaying number of dots to be displayed -(NSInteger) presentationIndexForPageViewController:(UIPageViewController *)pageViewController{  return 0;}// above method returns index of initial selected dot
```

after using both method on your screen displaying 3 dots on screen,\
I think this is sufficient solution for your problem.


---

Original Source: https://www.mindstick.com/forum/33547/swiping-pages-using-uipageviewcontroller

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
