mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
feat(ios): multi-window support (#10786)
This commit is contained in:
@@ -216,3 +216,28 @@ export interface AndroidActivityBackPressedEventData extends AndroidActivityEven
|
||||
export interface LoadAppCSSEventData extends ApplicationEventData {
|
||||
cssFile: string;
|
||||
}
|
||||
|
||||
/**
|
||||
* iOS Event data containing information for scene lifecycle events (iOS 13+).
|
||||
*/
|
||||
export interface SceneEventData extends ApplicationEventData {
|
||||
/**
|
||||
* The UIWindowScene instance associated with this event.
|
||||
*/
|
||||
scene?: UIWindowScene;
|
||||
|
||||
/**
|
||||
* The UIWindow associated with this scene (if applicable).
|
||||
*/
|
||||
window?: UIWindow;
|
||||
|
||||
/**
|
||||
* Scene connection options (for sceneWillConnect event).
|
||||
*/
|
||||
connectionOptions?: UISceneConnectionOptions;
|
||||
|
||||
/**
|
||||
* Additional user info from the notification.
|
||||
*/
|
||||
userInfo?: NSDictionary<any, any>;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user