D
D
Dmitry Golovanov2018-02-06 11:05:22
iOS
Dmitry Golovanov, 2018-02-06 11:05:22

How to change UIPageViewController from another ViewController (parent)?

There is a ViewController in it through the ContainerView "fitted" UIPageViewController which changes by scroll.
How to switch values ​​of UIPageViewController "from the outside", namely from the ViewController in which it is inscribed through the container?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
B
briahas, 2018-02-15
@briahas

A little hint: how should you switch what you want to switch in UIPageViewControllerler ? Obviously - refer to a certain method, or property, UIPageViewController .
So, this is exactly how you need to switch, what you want to switch - from ViewController, refer to an instance of the UIPageViewController class and - switch.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question