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
0
votes
1 answer

Pass ScreenEdgePanGesture on UIWebView to parent PageViewController

I am embedding Google Maps for navigation in a full-width UIWebView that is itself embedded in a UIPageViewController (in scroll mode). The page controller responds to the page turn gesture on all pages, even inside the UIWebView, unless the…
0
votes
1 answer

Xamarin.iOS ScrollView with the use of UIPageViewController, UIScrollView

I'm currently trying to implement a scroll interface the same as this https://developer.xamarin.com/samples/monotouch/FrogScroller/ but instead of scrolling images I want to scroll UIViews. I'm trying to reverse engineer this solution but it's…
0
votes
1 answer

Content moving in PageViewController tutorial slides

I'm using StoryBoards and have a PageViewController for my app tutorial screens. All viewcontroller's on the storyboard are basically the same, except for a different image of course. When it's running... the first view shows the image anchored to…
Drew
  • 1,422
  • 1
  • 18
  • 29
0
votes
1 answer

UIPageViewController Blank Screen

I am using a UIPageViewController to load multiple UIViewControllers but every time I try scrolling past the last ViewController or even try scrolling the opposite direction on the start of the pageController I get a blank screen as shown below. The…
eshirima
  • 3,837
  • 5
  • 37
  • 61
0
votes
0 answers

Change page with buttons. UIPageViewCotroller

I have a PageViewController and three view controllers. I want to move to previous and next page with button click. I have three VCs and when I run, I'm in the second one, (main). Ordered items: (in MainViewController class), and pageViewController…
The M7
  • 11
  • 5
0
votes
1 answer

Adding pagination to uipageviewcontroller

Adding pagination to uipageviewcontroller, is it possible? I am a newbie and I want to load few pages of uipageviewcontroller at first and when user scrolls to 4th page I want to load another 5 pages. Is it possible to achieve? Thanks.
user3804063
  • 809
  • 1
  • 14
  • 32
0
votes
1 answer

displaying different pages using scroll view

I have to create a profile screen in order to display user profile image and below the screen there are 4 options given in order to show: Profile Gallery Tattoos Videos I have used UIImage for displaying User's profile and a scrollview in which I…
pri
  • 87
  • 11
0
votes
1 answer

(Swift) Show TableViewController in a ViewController's Container view

I am trying to get a tableview controller to display inside of a container view inside of a view controller. This is my storyboard set up: These are my swift files: Here is some code for my page view swiping: func getStepZero() ->…
evanhaus
  • 727
  • 3
  • 12
  • 30
0
votes
1 answer

UIPageViewController bad access error

I know the error means I have a NULL pointer, but I am unsure as to WHY that is, and I assume it must be something I did wrong in my code. My index starts at 1 because I want it to start in the middle view controller which is the home page. I am…
evanhaus
  • 727
  • 3
  • 12
  • 30
0
votes
2 answers

MXSegmentedPager initial page

I have a MXSegmentedPager with 4 pages. How can I set the initial page to display. I tried the following line but it only changes the segmented control's selected index. Displayed page does not change. Im know It's an easy question but could not…
0
votes
1 answer

UICollectionView is nil

I have a UIViewController in storyboard which hosts a collectionView which is referenced using a IBOutlet. However, now I am placing this inside of a PageViewController and referencing it like this, rather than with the use of a seque : let initial…
Alk
  • 5,215
  • 8
  • 47
  • 116
0
votes
1 answer

Delete the only one page in UIPageViewController

Whenever I want to refresh my UIPageViewController I call the following snippet, including when I want to delete a viewController from my UIPageViewController. [self setViewControllers:@[currentViewController]…
Mig70
  • 61
  • 10
0
votes
0 answers

Xcode: Adding PageViewController on scrollview wouldn't work

I am trying to add a pageviewcontroller on a pre-installed scroll view class that creates a nice effect. Here is how they install the scrollview: - (void)setTitleArray:(NSArray *)titleArray { titlesArray = titleArray; arrayCount =…
Haonan Chen
  • 890
  • 1
  • 6
  • 11
0
votes
1 answer

Go to the next Page programmatically within a UIPageViewController

I have a rootViewController which is basically my pageViewController which implements all the page controller protocol functions. I have already successfully implemented the whole pageViewController with a pageControl that correctly shows the…
Jobs
  • 628
  • 7
  • 27
0
votes
3 answers

(Swift) need help swiping between view controllers

These are my view controllers: I want to make it so that I can swipe between the three of them starting in the middle one. All of the tutorials I've found require you to start from scratch and don't show me how to connect the three I have. Does…
evanhaus
  • 727
  • 3
  • 12
  • 30
1 2 3
99
100