Foxit PDF SDK  9.1
<UIExtensionsManagerDelegate> Protocol Reference
Inheritance diagram for <UIExtensionsManagerDelegate>:

Instance Methods

(void) - quitUIExtensionsManager:control:
 
(void) - uiextensionsManager:onToolBar:hidden:
 Customize toolbar position and animation when toggle hidden state. By default, top toolbar shows with top anchor equaling top anchor of pdf view ctrl and hides with bottom anchor equaling top anchor of pdf view ctrl. User can replace the default behavior by implementing this method. For instance top toolbar can change to top layout guide when it shows, or be added with additional subviews. More...
 
(BOOL) - uiextensionsManager:openNewDocAtPath:shouldCloseCurrentDoc:completionCallBack:
 Open new pdf doc by path. More...
 

Method Documentation

◆ quitUIExtensionsManager:control:

- (void) quitUIExtensionsManager: (UIExtensionsManager *)  uiextensionsManager
control: (UIControl *)  control 
optional

◆ uiextensionsManager:onToolBar:hidden:

- (void) uiextensionsManager: (UIExtensionsManager *)  uiextensionsManager
onToolBar: (FSToolbarType type
hidden: (BOOL)  hidden 
optional

Customize toolbar position and animation when toggle hidden state. By default, top toolbar shows with top anchor equaling top anchor of pdf view ctrl and hides with bottom anchor equaling top anchor of pdf view ctrl. User can replace the default behavior by implementing this method. For instance top toolbar can change to top layout guide when it shows, or be added with additional subviews.

Parameters
[in]uiextensionsManagerCurrent UIExtensionsManager.
[in]typeThe type of toolbar, see macros FSToolbarType.
[in]hiddenWhether to set toolbar to be hidden.

◆ uiextensionsManager:openNewDocAtPath:shouldCloseCurrentDoc:completionCallBack:

- (BOOL) uiextensionsManager: (UIExtensionsManager *)  uiextensionsManager
openNewDocAtPath: (NSString *)  path
shouldCloseCurrentDoc: (BOOL)  closeCurrentDoc
completionCallBack: (void(^)(void))  completionCallBack 
optional

Open new pdf doc by path.

Parameters
[in]uiextensionsManagerCurrent UIExtensionsManager.
[in]pathNew pdf doc path.
[in]closeCurrentDocWhether to close the current document. If NO, then the sdk caller should use a new PDF view Control to open the new document, if YES, then caller should close the current document and open the new document with the current PDF view control.
[in]completionCallBackUsed to call back to the caller after the document is opened
Returns
Whether to open successfully.