UDPageViewController Availability or Dubbing

I use UIPageViewController to scroll pages (array of UIViewController). I click on the pageview controller on the top navigation controller.

While I run the application, I could view all the VCs inside the pageview controller. However, the β€œthree finger swipe” on the page view controller does not work. It just doesn't receive scroll events.

Any understanding of what's going wrong here?

+7
accessibility voiceover uipageviewcontroller uiaccessibility
source share
2 answers

Have you tried setting the value for view.isAccessibilityElement to UIViewControllers in the pageViewControllers array?

(in viewController.m / viewController.swift file) self.view.isAccessibilityElement = true

The code above should work in both Objective-C and Swift (version 2.2 and higher, possibly lower versions)

+2
source share

Have you tried this:

In the storyboard, change the transition style in the pageViewController attribute inspector to "Scroll" instead of "Curl Page".

0
source share

All Articles