Forum Archive

[Feature request] ui.PageView

lukaskollmer

It'd be awesome to have a ui.PageView component in the ui module.

A UIPageViewController is a View Controller that lets you swipe between multiple child view controllers. It displays a line of dots at the bottom to indicate the current page.
You can also configure custom transitions for navigating between pages.

SpringBoard (the iOS homescreen) is a good example of an UIPageViewController.

UIPageViewController – Apple Human Interface Guidelines

dgelessus

FYI, there is a paging_enabled attribute on ui.ScrollViews, which makes it behave like a page view. This does not add the paging indicators of course.

lukaskollmer

@dgelessus I know but that works fundamentally different from UIPageViewController. The page view controller pages between different independent UIViewControllers while the scroll view just displays its subviews next to each other.