Class IosWebViewSceneDelegate
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
-
NSObjectUIResponderIosWebViewSceneDelegate
- Implements
-
IEquatable<NSObject>INSObjectProtocolIUIActivityItemsConfigurationProvidingIUIPasteConfigurationSupportingIUIResponderStandardEditActionsIUIUserActivityRestoringIUIWindowSceneDelegateIUISceneDelegateINativeObject
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
sceneUISceneThe scene; only a window scene gets a window.
sessionUISceneSessionThe scene's session.
connectionOptionsUISceneConnectionOptionsThe connection's options.
Exceptions
- InvalidOperationException
The application delegate does not derive from IosWebViewAppDelegate.