WhitePptParams Class Reference
Inherits from | WhiteObject |
---|---|
Declared in | WhiteSdkConfiguration.h |
)
scheme
:更改动态 ppt 请求时的请求协议,可以将 https://www.exmaple.com/1.pptx 更改成 scheme://www.example.com/1.pptx
@property (nonatomic, copy, nullable) NSString *API_AVAILABLE ( ios ( 11.0 )
Discussion
该属性配合 iOS 11 WebKit 中 WKWebViewConfiguration
类的 setURLSchemeHandler:forURLScheme:
方法,可以对 PPT 的资源进行拦截,选择使用本地资源。
Declared In
WhiteSdkConfiguration.h
useServerWrap
动态 PPT 服务端排版功能的开启状态。
@property (nonatomic, assign) BOOL useServerWrap
Availability
2.12.25
YES
:开启。NO
:关闭。
Note:
2021-02-10 之后转换的动态 PPT 支持服务端排版功能,可以确保不同平台排版一致。
Declared In
WhiteSdkConfiguration.h