usePageViewController的选项的键/值 [英] Key/values for usePageViewController's options
问题描述
我可以在iOS11 PDFView,PDFKit的usePageViewController
方法的withViewOptions
参数中指定哪些键/值?
What key/values can I specify in withViewOptions
parameter of usePageViewController
method of PDFView of iOS11, PDFKit?
推荐答案
根据PDFKit
中的文档,usePageViewController:withViewOptions:
将给定的选项传递给位于查看器中的UIPageViewController
.
According to the documentation found in PDFKit
, usePageViewController:withViewOptions:
passes the given options to the UIPageViewController
located in the viewer.
viewOptions
自变量被赋予UIPageViewController
初始化程序,作为传递页面间距的一种方式,等等.
The
viewOptions
argument is given to theUIPageViewController
initializer, as a way to pass in page spacing, etc.
UIPageViewController
的可用选项为 UIPageViewControllerOptionSpineLocationKey
和 UIPageViewControllerOptionInterPageSpacingKey
.
UIPageViewController
's available options are UIPageViewControllerOptionSpineLocationKey
and UIPageViewControllerOptionInterPageSpacingKey
.
这篇关于usePageViewController的选项的键/值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!