Flutter iOS Embedder
FlutterViewController() Category Reference

#import <FlutterViewController_Internal.h>

Inheritance diagram for FlutterViewController():
<FlutterBinaryMessenger>

Instance Methods

(UIHoverGestureRecognizer *hoverGestureRecognizer) - API_AVAILABLE
 
(UIPanGestureRecognizer *discreteScrollingPanGestureRecognizer) - API_AVAILABLE
 
(UIPanGestureRecognizer *continuousScrollingPanGestureRecognizer) - API_AVAILABLE
 
(UIPinchGestureRecognizer *pinchGestureRecognizer) - API_AVAILABLE
 
(UIRotationGestureRecognizer *rotationGestureRecognizer) - API_AVAILABLE
 
(void) - addInternalPlugins
 
(void) - deregisterNotifications
 
(fml::WeakNSObject< FlutterViewController >) - getWeakNSObject
 
(std::shared_ptr< flutter::FlutterPlatformViewsController > &) - platformViewsController
 
(FlutterRestorationPlugin *) - restorationPlugin
 
(void) - handlePressEvent:nextAction:
 
(void) - sendDeepLinkToFramework:completionHandler:
 
(void) - addInternalPlugins
 
(void) - deregisterNotifications
 
(int32_t) - accessibilityFlags
 
(BOOL) - supportsShowingSystemContextMenu
 
- 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:
 

Properties

int64_t viewIdentifier
 
BOOL displayingFlutterUI
 
BOOL isHomeIndicatorHidden
 
BOOL isPresentingViewControllerAnimating
 
BOOL shouldIgnoreViewportMetricsUpdatesDuringRotation
 
CGFloat targetViewInsetBottom
 
CGFloat originalViewInsetBottom
 
VSyncClientkeyboardAnimationVSyncClient
 
BOOL keyboardAnimationIsShowing
 
fml::TimePoint keyboardAnimationStartTime
 
BOOL isKeyboardInOrTransitioningFromBackground
 
VSyncClienttouchRateCorrectionVSyncClient
 
BOOL accessibilityIsOnOffSwitchLabelsEnabled
 
BOOL isPresentingViewController
 
BOOL isVoiceOverRunning
 
FlutterKeyboardManagerkeyboardManager
 
BOOL prefersStatusBarHidden
 Whether the status bar is preferred hidden. More...
 

Detailed Description

Definition at line 61 of file FlutterViewController.mm.

Method Documentation

◆ accessibilityFlags

- (int32_t) accessibilityFlags

◆ addInternalPlugins [1/2]

- (void) addInternalPlugins

◆ addInternalPlugins [2/2]

- (void) addInternalPlugins

Creates and registers plugins used by this view controller.

◆ 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

◆ getWeakNSObject

◆ handlePressEvent:nextAction:

- (void) handlePressEvent: (FlutterUIPressProxy *)  press
nextAction: (ios(13.4))  API_AVAILABLE 

◆ platformViewsController

- (shared_ptr<)flutter:

◆ restorationPlugin

- (FlutterRestorationPlugin*) restorationPlugin

◆ sendDeepLinkToFramework:completionHandler:

- (void) sendDeepLinkToFramework: (NSURL *)  url
completionHandler: (void(^)(BOOL success))  completion 

◆ supportsShowingSystemContextMenu

- (BOOL) supportsShowingSystemContextMenu

Property Documentation

◆ accessibilityIsOnOffSwitchLabelsEnabled

- (BOOL) accessibilityIsOnOffSwitchLabelsEnabled
readnonatomicassign

Definition at line 46 of file FlutterViewController_Internal.h.

◆ displayingFlutterUI

- (BOOL) displayingFlutterUI
readwritenonatomicassign

Definition at line 67 of file FlutterViewController.mm.

◆ isHomeIndicatorHidden

- (BOOL) isHomeIndicatorHidden
readwritenonatomicassign

Definition at line 68 of file FlutterViewController.mm.

◆ isKeyboardInOrTransitioningFromBackground

- (BOOL) isKeyboardInOrTransitioningFromBackground
readwritenonatomicassign

Definition at line 84 of file FlutterViewController.mm.

◆ isPresentingViewController

- (BOOL) isPresentingViewController
readnonatomicassign

Definition at line 47 of file FlutterViewController_Internal.h.

◆ isPresentingViewControllerAnimating

- (BOOL) isPresentingViewControllerAnimating
readwritenonatomicassign

Definition at line 69 of file FlutterViewController.mm.

◆ isVoiceOverRunning

- (BOOL) isVoiceOverRunning
readnonatomicassign

Definition at line 48 of file FlutterViewController_Internal.h.

◆ keyboardAnimationIsShowing

- (BOOL) keyboardAnimationIsShowing
readwritenonatomicassign

Definition at line 82 of file FlutterViewController.mm.

◆ keyboardAnimationStartTime

- (TimePoint FlutterViewController()):
readwritenonatomicassign

Definition at line 83 of file FlutterViewController.mm.

◆ keyboardAnimationVSyncClient

- (VSyncClient*) keyboardAnimationVSyncClient
readwritenonatomicretain

Definition at line 81 of file FlutterViewController.mm.

◆ keyboardManager

- (FlutterKeyboardManager*) keyboardManager
readwritenonatomicretain

Definition at line 49 of file FlutterViewController_Internal.h.

◆ originalViewInsetBottom

- (CGFloat) originalViewInsetBottom
readwritenonatomicassign

Definition at line 80 of file FlutterViewController.mm.

◆ 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 58 of file FlutterViewController_Internal.h.

◆ shouldIgnoreViewportMetricsUpdatesDuringRotation

- (BOOL) shouldIgnoreViewportMetricsUpdatesDuringRotation
readwritenonatomicassign

Whether we should ignore viewport metrics updates during rotation transition.

Definition at line 74 of file FlutterViewController.mm.

◆ targetViewInsetBottom

- (CGFloat) targetViewInsetBottom
readwritenonatomicassign

Keyboard animation properties

Definition at line 79 of file FlutterViewController.mm.

◆ touchRateCorrectionVSyncClient

- (VSyncClient*) touchRateCorrectionVSyncClient
readwritenonatomicretain

VSyncClient 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 VSyncClient, it can correct the delivery frame rate of touch events to let it keep the same with frame rate of rendering.

Definition at line 92 of file FlutterViewController.mm.

◆ viewIdentifier

- (int64_t) viewIdentifier
readnonatomicassign

Definition at line 65 of file FlutterViewController.mm.


The documentation for this category was generated from the following files: