Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Key/values for usePageViewController's options

Tags:

ios

ios11

pdfkit

What key/values can I specify in withViewOptions parameter of usePageViewController method of PDFView of iOS11, PDFKit?

like image 715
Yasuo Asakawa Avatar asked Oct 03 '17 11:10

Yasuo Asakawa


1 Answers

According to the documentation found in PDFKit, usePageViewController:withViewOptions: passes the given options to the UIPageViewController located in the viewer.

The viewOptions argument is given to the UIPageViewController initializer, as a way to pass in page spacing, etc.

UIPageViewController's available options are UIPageViewControllerOptionSpineLocationKey and UIPageViewControllerOptionInterPageSpacingKey.

like image 110
Tamás Sengel Avatar answered Nov 13 '22 00:11

Tamás Sengel