Class IosUiContext
Represents the iOS app's UI context: it reports the app as active and not destroyed whenever it is asked, as the app has one view controller for its whole run.
public class IosUiContext : IUiContext
- Inheritance
-
IosUiContext
- Implements
- Inherited Members
Methods
IsActive()
Determines whether the UI is shown to the user, as far as the platform tells: Android checks its view, and iOS always answers true.
public Task<bool> IsActive()
Returns
Remarks
It always gives true.
IsDestroyed()
Determines whether the UI is gone, as far as the platform tells: a desktop reports a hidden window as gone, and iOS never reports one.
public Task<bool> IsDestroyed()
Returns
Remarks
It always gives false.