Questions tagged [uipageviewcontroller]

UIPageViewController is an iOS container view controller that manages the display one of one or more content view controllers. It provides the ability the change of the controller via swipe gestures and also supports animated transitions.

UIPageViewController is a container view controller that manages navigation between pages of content, where each page is managed by a child view controller.

A UIPageViewController lets the user navigate between pages of content, where each page is managed by its own view controller object. Navigation can be controlled programmatically or directly by the user using swipe gestures. When navigating from page to page, the page view controller uses the transition that you specify to animate the change.

Important

In tvOS, the UIPageViewController class provides only a way to swipe between full-screen content pages. Unlike in iOS, a user cannot interact with or move focus between items on each page.

References:

2071 questions
19
votes
10 answers

UIPageViewController transition 'Unbalanced calls to begin/end appearance transitions for '

When I navigate through UIPageViewController faster than its transition animation I am getting 'Unbalanced calls to begin/end appearance transitions for ' and one of the two views in landscape isn't shown until I try to turn…
Basem Saadawy
  • 1,808
  • 2
  • 20
  • 30
19
votes
5 answers

UIPageViewController crashes when flipped too fast during low memory

I had some memory problems due to Xcode's template for a UIPageViewController caching all the page data, so I changed it to load the pages dynamically, so now when my app receives a low memory warning, it releases the memory for page's not showing,…
Marty
  • 5,926
  • 9
  • 53
  • 91
18
votes
3 answers

Using UIPageViewController with swift and multiple view controllers

I'm trying to utilize a UIPageViewController in a Swift app with multiple view controllers. I have 2 view controllers on my storyboard (firstViewController and secondViewController) that are both embedded in their own navigation controllers. They…
Stone Preston
  • 1,828
  • 4
  • 20
  • 35
18
votes
6 answers

UIButton is not Highlighting within ViewController in UIPageViewController in iOS7

I have a UIButton within a view controller which is embedded in a UIPageViewController. Page view controller is in scrolling mode(So No gestures ). When I touch on the button, action method will be called but there is no visible state changes…
Anil Varghese
  • 42,757
  • 9
  • 93
  • 110
17
votes
6 answers

Swift/iOS8: Why are Page Control indicators not showing?

I am implementing a straightforward gallery view controller where the app displays a small range of full-screen images that the user can scroll through. I'm using UIPageViewController which I thought, should display the Page Control indicators…
Pompey Casmilus
  • 205
  • 2
  • 4
  • 7
17
votes
6 answers

Get user swiping direction in UIPageViewController

These two methods viewControllerBeforeViewController and viewControllerAfterViewController of the UIPageViewControllerDataSource don't tell the direction of the swipe. The method transitionCompleted of the UIPageViewController delegate doesn't help…
Cesare
  • 9,139
  • 16
  • 78
  • 130
16
votes
2 answers

How do I enable Voice Over 3 finger swipe gesture for UIPageViewController

I'm using UIPageViewController in my App, however I noticed that when Voice Over is enabled, the "three finger swipe" shortcut does not work (like it does on home screen). Does anyone know if there is a standard way to enable this (like most other…
Epic Byte
  • 33,840
  • 12
  • 45
  • 93
16
votes
6 answers

Disable bounce effect in UIPageViewController

I have implemented a UIPageViewController that contains two pages. On the right most page, I am able to swipe to the right, and pull the page back so that when I release, it bounces back. The same thing occurs on the left page when I swipe to the…
Drew K.
  • 177
  • 1
  • 1
  • 7
16
votes
3 answers

PageViewController delegate functions called twice

I am working with UIPageViewController , to make a product tour for my application. I followed this link http://www.appcoda.com/uipageviewcontroller-tutorial-intro/ I am doing is simple task of changing backgound color of my "root VC" on swipe,…
Ranjit
  • 4,576
  • 11
  • 62
  • 121
16
votes
6 answers

UIPageViewController - how Can I jump to a particular page number?

I have spent almost 8 hours finding out how to jump to a particular page number in UIPageViewController... below is what my project looks like I want to make an app which looks like Ibooks--- I have taken the help from the code presented here -…
A K
  • 295
  • 1
  • 4
  • 19
15
votes
3 answers

UIImageView resizing issue in UIPageViewController

I'm building a new app and wish to have a "Welcome walkthrough" at the beginning wherein I have a storyboard with a series of images presented in a UIPageViewController. I have it loading the images and all of that just fine, however the images are…
Jovin J
  • 462
  • 5
  • 15
15
votes
7 answers

Progress of UIPageViewController

I would like to receive updates from the uipageviewcontroller during the page scrolling process. I want to know the transitionProgress in %. (This value should update when the user move the finger in order to get to another page). I'm interested in…
Eric1101000101
  • 531
  • 3
  • 6
  • 15
15
votes
2 answers

How to connect dataSource outlet of a Page View Controller using Storyboard in Interface Builder

According to Apple's documentation here, we should be able to add a Page View Controller into the storyboard and then optionally set the data source by connecting the outlets. Creating a Page View Controller Interface Using a Storyboard The…
14
votes
1 answer

Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Duplicate states in queue'

I'm working on a project that use UISlideViewController. I know that this may be a duplicate question but non of the posts before about this topic helped me. I have a specific problem, as I managed to understand. My app crashes on this block. I have…
MattCodes
  • 489
  • 8
  • 21
14
votes
4 answers

Swift: UIPageViewController - Load separate views

I'm following this tutorial: http://swiftiostutorials.com/ios-tutorial-using-uipageviewcontroller-create-content-slider-objective-cswift/ to create an app that shows multiple sliders. Even though i've got this tutorial to work, This example only…
DannieCoderBoi
  • 728
  • 2
  • 12
  • 31