FUIWebViewContainer

open class FUIWebViewContainer : UIViewController

(formerly separate UIWebViewController and WKWebViewController)

Theming

Supported style classes

fdlFUIWebViewContainer
fdlFUIWebViewContainer_cancelButton
  • UIWebView to display in the FUIWebViewContainer

    Declaration

    Swift

    public var uiWebView: UIWebView
  • WKWebView to display in the FUIWebViewContainer

    Declaration

    Swift

    public var wkWebView: WKWebView
  • enum to say whether the WebViewContainer should contain a UIWebView or WKWebView

    See more

    Declaration

    Swift

    public enum WebViewType
  • initializer for FUIWebViewContainer

    Declaration

    Swift

    public convenience init(type: WebViewType)

    Parameters

    type

    WebViewType of the view to be displayed. Either .uiWebView or .wkWebView (Default: .uiWebView)

  • The object acts as the delegate of FUIWebViewContainer.

    Declaration

    Swift

    open var delegate: FUIWebViewContainerDelegate?
  • The FUIProcessingIndicatorView of this FUIWebViewContainer.

    Declaration

    Swift

    public var processingIndicatorView: FUIProcessingIndicatorView
  • The Cancel button on the left side of the navigation bar.

    Declaration

    Swift

    public var cancelButton: UIBarButtonItem?
  • This function will be changed to internal. Developer should not invoke this function directly.**

    Declaration

    Swift

    @available(*, deprecated, message: "This function will be changed to internal. Developer should not invoke this function.")
    @objc
    public func didTapCancel()
  • Method to be called by the developer to show the processingIndicator

    Declaration

    Swift

    public func showProcessingIndicator()
  • Method to be called by the developer to dismiss the processingIndicator

    Declaration

    Swift

    public func dismissProcessingIndicator()
  • Method to be called by the developer to start the processingIndicator animating

    Declaration

    Swift

    public func startAnimating()
  • Method to be called by the developer to stop the processingIndicator animating

    Declaration

    Swift

    public func stopAnimating()