args

binaryMessenger

:(

NSObject

FlutterBinaryMessenger

>*

messenger

if

self

super

init

])

_view

[[

UIView

alloc

init

];

return

self

UIView

view

return

_view

@end

Finally, register the platform view.
This can be done in an app or a plugin.

For app registration,
modify the App’s AppDelegate.m:

#import "AppDelegate.h"
#import "FLNativeView.h"
#import "GeneratedPluginRegistrant.h"

@implementation