Library Mobile API Reference for iPad  MicroStrategy 2019
<MSTRWebViewDelegate > Protocol Reference

#import <MSTRWebView.h>

Inheritance diagram for <MSTRWebViewDelegate >:

Instance Methods

(BOOL) - webView:willDisplayMSTRVC:
 
(UINavigationController *) - webViewNeedsNavigationController:
 

Detailed Description

This is the protocol for the MSTRWWebView to communicate with its delegate.The protocol extends the UIWebViewDelegate protocol.

Method Documentation

◆ webView:willDisplayMSTRVC:()

- (BOOL MSTRWebViewDelegate) webView: (MSTRWebView *)  webView
willDisplayMSTRVC: (UIViewController *)  viewController 
optional

This method is called on the delegate when the MSTRWebView is going to display a View Controller in response to a mstr:// or mstripad:// request. If the delegate returns false the loading of the viewController is aborted.

The main purpose of this method is to provide the delegate functionality to show the View Controller in a customized manner.

◆ webViewNeedsNavigationController:()

- (UINavigationController* MSTRWebViewDelegate) webViewNeedsNavigationController: (MSTRWebView *)  webView
optional

This method used to get the UINavigationController from the delegate tht should be used to push the view controller requested(document,report,folder etc.)

If the delegate does not implement this method or if it returns nil,MSTRWebView simply replaces its own view with tht of the requested view. In that case drilling wont be supported.