| Flutter iOS Embedder |

Instance Methods | Properties | List of all members
FlutterViewController() Category Reference

`#import <FlutterViewController_Internal.h>`

Inheritance diagram for FlutterViewController():

## 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::WeakPtr< FlutterViewController >) | - getWeakPtr
(std::shared_ptr< flutter::FlutterPlatformViewsController > &) | - platformViewsController
(FlutterRestorationPlugin *) | - restorationPlugin
(void) | - forceTouchesCancelled:
(void) | - handlePressEvent:nextAction:
(void) | - addInternalPlugins
(void) | - deregisterNotifications
(int32_t) | - accessibilityFlags
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
BOOL | displayingFlutterUI
BOOL | isHomeIndicatorHidden
BOOL | isPresentingViewControllerAnimating
BOOL | shouldIgnoreViewportMetricsUpdatesDuringRotation
CGFloat | targetViewInsetBottom
CGFloat | originalViewInsetBottom
VSyncClient * | keyboardAnimationVSyncClient
BOOL | keyboardAnimationIsShowing
fml::TimePoint | keyboardAnimationStartTime
BOOL | isKeyboardInOrTransitioningFromBackground
VSyncClient * | touchRateCorrectionVSyncClient
BOOL | accessibilityIsOnOffSwitchLabelsEnabled
BOOL | isPresentingViewController
BOOL | isVoiceOverRunning
FlutterKeyboardManager * | keyboardManager
BOOL | prefersStatusBarHidden
| Whether the status bar is preferred hidden. More...

## Detailed Description

Definition at line 60 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 |  |  |

## ◆ forceTouchesCancelled:

- (void) forceTouchesCancelled: |  | (NSSet *) | touches |

## ◆ getWeakPtr

- (WeakPtr<FlutterViewController> FlutterViewController()): |  |  |

## ◆ handlePressEvent:nextAction:

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

## ◆ platformViewsController

- (shared_ptr<)flutter: |  |  |

## ◆ restorationPlugin

- (FlutterRestorationPlugin*) restorationPlugin |  |  |

## Property Documentation

## ◆ accessibilityIsOnOffSwitchLabelsEnabled

- (BOOL) accessibilityIsOnOffSwitchLabelsEnabled
| read nonatomic assign

Definition at line 40 of file FlutterViewController_Internal.h.

## ◆ displayingFlutterUI

- (BOOL) displayingFlutterUI
| read write nonatomic assign

Definition at line 61 of file FlutterViewController.mm.

## ◆ isHomeIndicatorHidden

- (BOOL) isHomeIndicatorHidden
| read write nonatomic assign

Definition at line 62 of file FlutterViewController.mm.

## ◆ isKeyboardInOrTransitioningFromBackground

- (BOOL) isKeyboardInOrTransitioningFromBackground
| read write nonatomic assign

Definition at line 78 of file FlutterViewController.mm.

## ◆ isPresentingViewController

- (BOOL) isPresentingViewController
| read nonatomic assign

Definition at line 41 of file FlutterViewController_Internal.h.

## ◆ isPresentingViewControllerAnimating

- (BOOL) isPresentingViewControllerAnimating
| read write nonatomic assign

Definition at line 63 of file FlutterViewController.mm.

## ◆ isVoiceOverRunning

- (BOOL) isVoiceOverRunning
| read nonatomic assign

Definition at line 42 of file FlutterViewController_Internal.h.

## ◆ keyboardAnimationIsShowing

- (BOOL) keyboardAnimationIsShowing
| read write nonatomic assign

Definition at line 76 of file FlutterViewController.mm.

## ◆ keyboardAnimationStartTime

- (TimePoint FlutterViewController()):
| read write nonatomic assign

Definition at line 77 of file FlutterViewController.mm.

## ◆ keyboardAnimationVSyncClient

- (VSyncClient*) keyboardAnimationVSyncClient
| read write nonatomic retain

Definition at line 75 of file FlutterViewController.mm.

## ◆ keyboardManager

- (FlutterKeyboardManager*) keyboardManager
| read write nonatomic retain

Definition at line 43 of file FlutterViewController_Internal.h.

## ◆ originalViewInsetBottom

- (CGFloat) originalViewInsetBottom
| read write nonatomic assign

Definition at line 74 of file FlutterViewController.mm.

## ◆ prefersStatusBarHidden

- (BOOL) prefersStatusBarHidden
| read write nonatomic assign

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

## ◆ shouldIgnoreViewportMetricsUpdatesDuringRotation

- (BOOL) shouldIgnoreViewportMetricsUpdatesDuringRotation
| read write nonatomic assign

Whether we should ignore viewport metrics updates during rotation transition.

Definition at line 68 of file FlutterViewController.mm.

## ◆ targetViewInsetBottom

- (CGFloat) targetViewInsetBottom
| read write nonatomic assign

Keyboard animation properties

Definition at line 73 of file FlutterViewController.mm.

## ◆ touchRateCorrectionVSyncClient

- (VSyncClient*) touchRateCorrectionVSyncClient
| read write nonatomic retain

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 86 of file FlutterViewController.mm.

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

- shell/platform/darwin/ios/framework/Source/FlutterViewController.mm
- shell/platform/darwin/ios/framework/Source/FlutterViewController_Internal.h