#import <UIViewController+FlutterScreenAndSceneIfLoaded.h>
Instance Methods | |
(ios(13.0) | - API_AVAILABLE |
Returns a UIWindowScene if the UIViewController's view is loaded, and nil otherwise. More... | |
(UIScreen *) | - flutterScreenIfViewLoaded |
Definition at line 10 of file UIViewController+FlutterScreenAndSceneIfLoaded.h.
- (ios(13.0) API_AVAILABLE |
Returns a UIWindowScene if the UIViewController's view is loaded, and nil otherwise.
- (UIScreen *) flutterScreenIfViewLoaded |
Before iOS 13, returns the main screen; After iOS 13, returns the screen the UIViewController is attached to if its view is loaded, and nil otherwise.
Definition at line 22 of file UIViewController+FlutterScreenAndSceneIfLoaded.mm.