VMF_SceneDelegate
class VMF_SceneDelegate : UIResponder, UIWindowSceneDelegate
This class has the Scene Delegate functionality.
-
If it’s been over this many seconds since our last load, we force a new load, the next time we open.
Declaration
Swift
static let forceReloadDelayInSeconds: TimeInterval
-
This is set to the last time we loaded. While the app is up in the foreground, we won’t be forcing a reload, but we will, if it enters the background, then comes back.
Declaration
Swift
static var lastReloadTime: Date
-
Declaration
Swift
static var urlMeetingID: Int
-
The window object for this scene.
Declaration
Swift
var window: UIWindow?
-
Called after the scene is entering into the foreground.
We use this to set the search screen to today/now.
Declaration
Swift
func sceneWillEnterForeground(_: UIScene)
-
Called when the app is foregrounded via a URL.
Declaration
Swift
func scene(_: UIScene, openURLContexts inURLContexts: Set<UIOpenURLContext>)
Parameters
openURLContexts
The Opening URL contexts (as a set).
-
Called when the app is opened via a URL from a “cold start.”
Declaration
Swift
func scene(_ inScene: UIScene, willConnectTo: UISceneSession, options inConnectionOptions: UIScene.ConnectionOptions)
Parameters
willConnectTo
The session being connected (ignored).
options
This contains the options, among which, is the URL context.
-
Called when the app is opened via a URL (and launched).
Declaration
Swift
func scene(_: UIScene, continue inUserActivity: NSUserActivity)
Parameters
continue
The activity being continued.
-
This will set the static property to a given meeting ID, if it is provided in the URI.
Declaration
Swift
func resolveURL(_ inURL: URL)
Parameters
inURL
The URL to resolve.