Editar

Compartir a través de


UIPageViewControllerDataSource_Extensions Class

Definition

Extension methods to the IUIPageViewControllerDataSource interface to support all the methods from the UIPageViewControllerDataSource protocol.

public static class UIPageViewControllerDataSource_Extensions
type UIPageViewControllerDataSource_Extensions = class
Inheritance
UIPageViewControllerDataSource_Extensions

Remarks

The extension methods for IUIPageViewControllerDataSource allow developers to treat instances of the interface as having all the optional methods of the original UIPageViewControllerDataSource protocol. Since the interface only contains the required members, these extension methods allow developers to call the optional members of the protocol.

Methods

GetPresentationCount(IUIPageViewControllerDataSource, UIPageViewController)

The number of pages to be shown in the page indicator.

GetPresentationIndex(IUIPageViewControllerDataSource, UIPageViewController)

The index of the page to be highlighted in the page indicator.

Applies to