usePageViewController的选项的键/值 [英] Key/values for usePageViewController's options

查看:106
本文介绍了usePageViewController的选项的键/值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我可以在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 the UIPageViewController initializer, as a way to pass in page spacing, etc.

UIPageViewController的可用选项为 UIPageViewControllerOptionSpineLocationKey UIPageViewControllerOptionInterPageSpacingKey .

UIPageViewController's available options are UIPageViewControllerOptionSpineLocationKey and UIPageViewControllerOptionInterPageSpacingKey.

这篇关于usePageViewController的选项的键/值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆