Is it possible to use UIPageViewController with a text view?

or is there another option to solve this problem

Task You need to scroll through the pages (with a finger to the left and to the right) the pages themselves are roughly speaking like cards (there are text information in the cards themselves which is very long to scroll) example https://itunes.apple.com/ua/app/muzej- faktov-interesnye-fakty / id757252884? mt = 8

In this application, scrolling between blocks goes with the help of buttons, I am interested in the implementation through svayp to the left and also the ability to scroll the text

probably very difficult to ask a question I hope an example will help to understand

  • in other words, you have a scroll view horizontal with a pagination, and on each page there is a scroll view vertical. the problem can only be that if you move your finger diagonally, the system may not understand what kind of scroll to perform. and what is the question then? - Max Mikheyenko 10:10
  • @MaxMikheyenko that's exactly the moment I did not take into account the question of which method is better to use for such a task and easier - DmitrievichR
  • you already have a pagecontroller, and you already have a textview (inherited from scrollview). there's nothing more to come up with - Max Mikheyenko

1 answer 1

UIPageViewController can be used in conjunction with any view, including the textview. This is just a navigation option.

  • and for such a task which option would you recommend? - DmitrievichR
  • UIPageViewController is perfect for this task - iosp