| Flutter iOS Embedder |

Classes | Namespaces | Functions | Variables
FlutterPlatformPlugin.mm File Reference
`#import "flutter/shell/platform/darwin/ios/framework/Source/FlutterPlatformPlugin.h"`
`#import <AudioToolbox/AudioToolbox.h>`
`#import <Foundation/Foundation.h>`
`#import <UIKit/UIApplication.h>`
`#import <UIKit/UIKit.h>`
`#include "flutter/fml/logging.h"`
`#import "flutter/shell/platform/darwin/ios/framework/Source/FlutterViewController_Internal.h"`
`#import "flutter/shell/platform/darwin/ios/framework/Source/UIViewController+FlutterScreenAndSceneIfLoaded.h"`

Go to the source code of this file.

## Namespaces
| flutter

## Functions
static void | SetStatusBarHiddenForSharedApplication (BOOL hidden)
static void | SetStatusBarStyleForSharedApplication (UIStatusBarStyle style)

## Variables
UITextField * | _textField

## Function Documentation

## ◆ SetStatusBarHiddenForSharedApplication()

static void SetStatusBarHiddenForSharedApplication | ( | BOOL | hidden | ) |
| static

Definition at line 43 of file FlutterPlatformPlugin.mm.

43 {
44 #if APPLICATION_EXTENSION_API_ONLY
45 [UIApplication sharedApplication].statusBarHidden = hidden;
46 #else
47 FML_LOG(WARNING) << "Application based status bar styling is not available in app extension.";
48 #endif
49 }

## ◆ SetStatusBarStyleForSharedApplication()

static void SetStatusBarStyleForSharedApplication | ( | UIStatusBarStyle | style | ) |
| static

Definition at line 51 of file FlutterPlatformPlugin.mm.

51 {
52 #if APPLICATION_EXTENSION_API_ONLY
53 // Note: -[UIApplication setStatusBarStyle] is deprecated in iOS9
54 // in favor of delegating to the view controller.
55 [[UIApplication sharedApplication] setStatusBarStyle:style];
56 #else
57 FML_LOG(WARNING) << "Application based status bar styling is not available in app extension.";
58 #endif
59 }

## Variable Documentation

## ◆ _textField

UITextField* _textField

Initial value:
{
fml::WeakPtr<FlutterEngine> _engine

Definition at line 74 of file FlutterPlatformPlugin.mm.

_engine
fml::scoped_nsobject< FlutterEngine > _engine
Definition: FlutterViewController.mm:114