Table of Contents

Class IosWebViewSceneDelegate

Namespace
VpnHood.AppHosting.WebView.Ios
Assembly
VpnHood.AppHosting.WebView.Ios.dll

Represents a window scene of the web view UI: its window, with the page's controller as its root, which the head's application delegate makes.

public class IosWebViewSceneDelegate : UIResponder, IEquatable<NSObject>, INSObjectProtocol, IUIActivityItemsConfigurationProviding, IUIPasteConfigurationSupporting, IUIResponderStandardEditActions, IUIUserActivityRestoring, IUIWindowSceneDelegate, IUISceneDelegate, INativeObject, IDisposable
Inheritance
NSObject
UIResponder
IosWebViewSceneDelegate
Implements
IEquatable<NSObject>
INSObjectProtocol
IUIActivityItemsConfigurationProviding
IUIPasteConfigurationSupporting
IUIResponderStandardEditActions
IUIUserActivityRestoring
IUIWindowSceneDelegate
IUISceneDelegate
INativeObject

Remarks

It is a responder that implements the scene delegate's protocol and exports its members, as UIKit refuses a scene delegate class that does not declare the protocol.

Properties

Window

Gets or sets the scene's window.

[Export("window")]
public UIWindow? Window { get; set; }

Property Value

UIWindow

Methods

WillConnect(UIScene, UISceneSession, UISceneConnectionOptions)

Makes the scene's window, with the page's controller as its root, and shows it.

[Export("scene:willConnectToSession:options:")]
public void WillConnect(UIScene scene, UISceneSession session, UISceneConnectionOptions connectionOptions)

Parameters

scene UIScene

The scene; only a window scene gets a window.

session UISceneSession

The scene's session.

connectionOptions UISceneConnectionOptions

The connection's options.

Exceptions

InvalidOperationException

The application delegate does not derive from IosWebViewAppDelegate.