#import <FlutterViewController_Internal.h>
Instance Methods | |
| (UIHoverGestureRecognizer *hoverGestureRecognizer) | - API_AVAILABLE |
| (UIPanGestureRecognizer *discreteScrollingPanGestureRecognizer) | - API_AVAILABLE |
| (UIPanGestureRecognizer *continuousScrollingPanGestureRecognizer) | - API_AVAILABLE |
| (UIPinchGestureRecognizer *pinchGestureRecognizer) | - API_AVAILABLE |
| (UIRotationGestureRecognizer *rotationGestureRecognizer) | - API_AVAILABLE |
| (void) | - addInternalPlugins |
| Creates and registers plugins used by this view controller. More... | |
| (void) | - deregisterNotifications |
| (void) | - onFirstFrameRendered |
| Called when the first frame has been rendered. Invokes any registered first-frame callback. More... | |
| (FlutterRestorationPlugin *) | - restorationPlugin |
| (FlutterTextInputPlugin *) | - textInputPlugin |
| (void) | - handlePressEvent:nextAction: |
| (void) | - addInternalPlugins |
| (void) | - deregisterNotifications |
| (BOOL) | - supportsShowingSystemContextMenu |
| (BOOL) | - stateIsActive |
| (BOOL) | - stateIsBackground |
| (BOOL) | - shouldHandleSceneNotification: |
Instance Methods inherited from <FlutterBinaryMessenger> | |
| (NSObject< FlutterTaskQueue > *) | - makeBackgroundTaskQueue |
| TODO(gaaclarke): Remove optional when macos supports Background Platform Channels. More... | |
| (FlutterBinaryMessengerConnection) | - setMessageHandlerOnChannel:binaryMessageHandler:taskQueue: |
| (void) | - sendOnChannel:message: |
| (void) | - sendOnChannel:message:binaryReply: |
| (FlutterBinaryMessengerConnection) | - setMessageHandlerOnChannel:binaryMessageHandler: |
| (void) | - cleanUpConnection: |
Instance Methods inherited from <FlutterKeyboardInsetManagerDelegate> | |
| (void) | - updateViewportMetricsWithInset: |
| Updates the viewport metrics with the new bottom inset. More... | |
| (CGFloat) | - physicalViewInsetBottom |
| Returns the current physical bottom view inset. More... | |
| (UIView *) | - view |
| Returns the view associated with the delegate. More... | |
| (FlutterEngine *) | - engine |
| Returns the engine associated with the delegate. More... | |
| (UIScreen *) | - flutterScreenIfViewLoaded |
| Returns the UIScreen associated with the Flutter view, if the view is loaded. More... | |
| (BOOL) | - isPadInSlideOverOrStageManagerMode |
| Returns whether the device is an iPad and in Slide Over or Stage Manager mode. More... | |
| (CGRect) | - convertViewRectToScreen: |
| Converts a rectangle from the view's coordinate system to the screen's coordinate system. More... | |
| (BOOL) | - isViewLoaded |
| Returns whether the delegate's view is currently loaded. More... | |
Instance Methods inherited from <FlutterViewResponder> | |
| (void) | - touchesBegan:withEvent: |
| (void) | - touchesMoved:withEvent: |
| (void) | - touchesEnded:withEvent: |
| (void) | - touchesCancelled:withEvent: |
| (void) | - touchesEstimatedPropertiesUpdated: |
| (void) | - forceTouchesCancelled: |
| (BOOL) | - platformViewShouldAcceptTouchAtTouchBeganLocation: |
Definition at line 68 of file FlutterViewController.mm.
| - (void) addInternalPlugins |
Creates and registers plugins used by this view controller.
| - (void) addInternalPlugins |
| - (UIHoverGestureRecognizer* hoverGestureRecognizer) API_AVAILABLE | (ios(13.4)) |
| - (UIPanGestureRecognizer* discreteScrollingPanGestureRecognizer) API_AVAILABLE | (ios(13.4)) |
| - (UIPanGestureRecognizer* continuousScrollingPanGestureRecognizer) API_AVAILABLE | (ios(13.4)) |
| - (UIPinchGestureRecognizer* pinchGestureRecognizer) API_AVAILABLE | (ios(13.4)) |
| - (UIRotationGestureRecognizer* rotationGestureRecognizer) API_AVAILABLE | (ios(13.4)) |
| - (void) deregisterNotifications |
| - (void) deregisterNotifications |
| - (void) handlePressEvent: | (FlutterUIPressProxy *) | press | |
| nextAction: | (ios(13.4)) | API_AVAILABLE | |
| - (void) onFirstFrameRendered |
Called when the first frame has been rendered. Invokes any registered first-frame callback.
| - (FlutterRestorationPlugin*) restorationPlugin |
| - (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.
| notification | The UIScene notification containing the transitioning UIScene in its object. |
| - (BOOL) stateIsActive |
| - (BOOL) stateIsBackground |
| - (BOOL) supportsShowingSystemContextMenu |
| - (FlutterTextInputPlugin*) textInputPlugin |
|
readwritenonatomicstrong |
Definition at line 64 of file FlutterViewController_Internal.h.
|
readwritenonatomicassign |
Definition at line 51 of file FlutterViewController_Internal.h.
|
readwritenonatomicassign |
Definition at line 87 of file FlutterViewController.mm.
|
readwritenonatomicassign |
Definition at line 89 of file FlutterViewController.mm.
|
readwritenonatomicassign |
Definition at line 86 of file FlutterViewController.mm.
|
readwritenonatomicassign |
Definition at line 94 of file FlutterViewController.mm.
|
readwritenonatomicstrong |
Definition at line 78 of file FlutterViewController.mm.
|
readwritenonatomicstrong |
|
readwritenonatomicassign |
Definition at line 85 of file FlutterViewController.mm.
|
readwritenonatomicassign |
Definition at line 90 of file FlutterViewController.mm.
|
readnonatomicassign |
Definition at line 47 of file FlutterViewController_Internal.h.
|
readwritenonatomicassign |
Definition at line 91 of file FlutterViewController.mm.
|
readnonatomicassign |
Definition at line 48 of file FlutterViewController_Internal.h.
|
readwritenonatomicstrong |
Definition at line 50 of file FlutterViewController_Internal.h.
|
readwritenonatomicstrong |
Definition at line 49 of file FlutterViewController_Internal.h.
|
readwritenonatomicstrong |
Definition at line 96 of file FlutterViewController.mm.
|
readwritenonatomicassign |
Definition at line 83 of file FlutterViewController.mm.
|
readnonatomicassign |
Definition at line 62 of file FlutterViewController_Internal.h.
|
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 60 of file FlutterViewController_Internal.h.
|
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 120 of file FlutterViewController.mm.
|
readwritenonatomicassign |
Timestamp after which a scroll inertia cancel event should be inferred.
Keyboard animation properties
Definition at line 112 of file FlutterViewController.mm.
|
readwritenonatomicstrong |
Definition at line 101 of file FlutterViewController.mm.
|
readwritenonatomicassign |
Whether we should ignore viewport metrics updates during rotation transition.
Definition at line 106 of file FlutterViewController.mm.
|
readwritenonatomicassign |
The size of the FlutterView's frame, as determined by auto-layout, before Flutter's custom auto-resizing constraints are applied.
Definition at line 132 of file FlutterViewController.mm.
|
readwritenonatomicstrong |
Definition at line 81 of file FlutterViewController.mm.
|
readwritenonatomicassign |
Definition at line 84 of file FlutterViewController.mm.
|
readwritenonatomicstrong |
FlutterVSyncClient for touch events delivery frame rate correction.
On promotion devices(eg: iPhone13 Pro), the delivery frame rate of touch events is 60HZ but the frame rate of rendering is 120HZ, which is different and will leads jitter and laggy. With this FlutterVSyncClient, it can correct the delivery frame rate of touch events to let it keep the same with frame rate of rendering.
Definition at line 128 of file FlutterViewController.mm.
|
readnonatomicassign |
Definition at line 74 of file FlutterViewController.mm.