#import <FlutterViewController_Internal.h>
Definition at line 67 of file FlutterViewController.mm.
◆ addInternalPlugins [1/2]
| - (void) addInternalPlugins |
|
|
|
Creates and registers plugins used by this view controller.
◆ addInternalPlugins [2/2]
| - (void) addInternalPlugins |
|
|
|
◆ API_AVAILABLE [1/5]
| - (UIHoverGestureRecognizer* hoverGestureRecognizer) API_AVAILABLE |
|
(ios(13.4)) |
|
|
◆ API_AVAILABLE [2/5]
| - (UIPanGestureRecognizer* discreteScrollingPanGestureRecognizer) API_AVAILABLE |
|
(ios(13.4)) |
|
|
◆ API_AVAILABLE [3/5]
| - (UIPanGestureRecognizer* continuousScrollingPanGestureRecognizer) API_AVAILABLE |
|
(ios(13.4)) |
|
|
◆ API_AVAILABLE [4/5]
| - (UIPinchGestureRecognizer* pinchGestureRecognizer) API_AVAILABLE |
|
(ios(13.4)) |
|
|
◆ API_AVAILABLE [5/5]
| - (UIRotationGestureRecognizer* rotationGestureRecognizer) API_AVAILABLE |
|
(ios(13.4)) |
|
|
◆ deregisterNotifications [1/2]
| - (void) deregisterNotifications |
|
|
|
◆ deregisterNotifications [2/2]
| - (void) deregisterNotifications |
|
|
|
◆ handlePressEvent:nextAction:
| - (void) handlePressEvent: |
|
(FlutterUIPressProxy *) |
press |
| nextAction: |
|
(ios(13.4)) |
API_AVAILABLE |
|
|
| |
◆ onFirstFrameRendered
| - (void) onFirstFrameRendered |
|
|
|
Called when the first frame has been rendered. Invokes any registered first-frame callback.
◆ restorationPlugin
◆ shouldHandleSceneNotification:
| - (BOOL) shouldHandleSceneNotification: |
|
(ios(13.0)) |
API_AVAILABLE |
|
Determines whether a UIScene notification should be handled by this view controller.
In multi-scene environments (such as iPadOS split view, macOS Catalyst multi-window, or App Extensions), multiple UIWindowScene instances can exist in the same process space. Because the scene observers register to listen for all targets, they may receive lifecycle notifications from unrelated auxiliary or secondary scenes.
- Parameters
-
| notification | The UIScene notification containing the transitioning UIScene in its object. |
- Returns
- YES if the notification matches this view controller's scene context. NO if it originates from an unrelated scene and should be ignored.
◆ stateIsActive
◆ stateIsBackground
| - (BOOL) stateIsBackground |
|
|
|
◆ stateIsForeground
| - (BOOL) stateIsForeground |
|
|
|
◆ supportsShowingSystemContextMenu
| - (BOOL) supportsShowingSystemContextMenu |
|
|
|
◆ textInputPlugin
◆ accessibilityFeatures
| - (FlutterAccessibilityFeatures*) accessibilityFeatures |
|
readwritenonatomicstrong |
◆ applicationLocale
| - (NSString*) applicationLocale |
|
readwritenonatomicassign |
◆ awokenFromNib
◆ displayingFlutterUI
| - (BOOL) displayingFlutterUI |
|
readwritenonatomicassign |
◆ displayLinkManager
| - (FlutterDisplayLinkManager*) displayLinkManager |
|
readwritenonatomicstrong |
◆ engineNeedsLaunch
| - (BOOL) engineNeedsLaunch |
|
readwritenonatomicassign |
◆ flutterPrefersStatusBarHidden
| - (BOOL) flutterPrefersStatusBarHidden |
|
readwritenonatomicassign |
◆ flutterView
◆ flutterViewRenderedCallback
| - (void(^ flutterViewRenderedCallback) (void)) |
|
readwritenonatomicstrong |
◆ initialized
◆ isHomeIndicatorHidden
| - (BOOL) isHomeIndicatorHidden |
|
readwritenonatomicassign |
◆ isPresentingViewController
| - (BOOL) isPresentingViewController |
|
readnonatomicassign |
◆ isPresentingViewControllerAnimating
| - (BOOL) isPresentingViewControllerAnimating |
|
readwritenonatomicassign |
◆ isVoiceOverRunning
| - (BOOL) isVoiceOverRunning |
|
readnonatomicassign |
◆ keyboardInsetManager
| - (id<FlutterKeyboardInsetManagerProtocol>) keyboardInsetManager |
|
readwritenonatomicstrong |
◆ keyboardManager
◆ ongoingTouches
| - (NSMutableSet<NSNumber*>*) ongoingTouches |
|
readwritenonatomicstrong |
◆ orientationPreferences
| - (UIInterfaceOrientationMask) orientationPreferences |
|
readwritenonatomicassign |
◆ platformViewsController
◆ prefersStatusBarHidden
| - (BOOL) prefersStatusBarHidden |
|
readwritenonatomicassign |
Whether the status bar is preferred hidden.
This overrides the |UIViewController:prefersStatusBarHidden|.
This is ignored when `UIViewControllerBasedStatusBarAppearance` in info.plist
of the app project is `false`.
Definition at line 49 of file FlutterViewController_Internal.h.
◆ scrollInertiaEventAppKitDeadline
| - (NSTimeInterval) scrollInertiaEventAppKitDeadline |
|
readwritenonatomicassign |
When an iOS app is running in emulation on an Apple Silicon Mac, trackpad input goes through a translation layer, and events are not received with precise deltas. Due to this, we can't rely on checking for a stationary trackpad event. Fortunately, AppKit will send an event of type UIEventTypeScroll following a scroll when inertia should stop. This field is needed to estimate if such an event represents the natural end of scrolling inertia or a user-initiated cancellation.
Definition at line 119 of file FlutterViewController.mm.
◆ scrollInertiaEventStartline
| - (NSTimeInterval) scrollInertiaEventStartline |
|
readwritenonatomicassign |
Timestamp after which a scroll inertia cancel event should be inferred.
Keyboard animation properties
Definition at line 111 of file FlutterViewController.mm.
◆ scrollView
| - (UIScrollView*) scrollView |
|
readwritenonatomicstrong |
◆ shouldIgnoreViewportMetricsUpdatesDuringRotation
| - (BOOL) shouldIgnoreViewportMetricsUpdatesDuringRotation |
|
readwritenonatomicassign |
◆ sizeBeforeAutoResized
| - (CGSize) sizeBeforeAutoResized |
|
readwritenonatomicassign |
◆ splashScreenManager
| - (FlutterSplashScreenManager*) splashScreenManager |
|
readwritenonatomicstrong |
◆ statusBarStyle
| - (UIStatusBarStyle) statusBarStyle |
|
readwritenonatomicassign |
◆ viewIdentifier
| - (int64_t) viewIdentifier |
|
readnonatomicassign |
The documentation for this category was generated from the following files: