[iOS] Make FlutterEngine new method available (flutter/engine#25446)

This commit is contained in:
Wu Zhong
2021-04-09 05:54:01 +08:00
committed by GitHub
parent 22c452c2ea
commit f6e3ec2d6d

View File

@@ -161,8 +161,6 @@ FLUTTER_DARWIN_EXPORT
allowHeadlessExecution:(BOOL)allowHeadlessExecution
restorationEnabled:(BOOL)restorationEnabled NS_DESIGNATED_INITIALIZER;
+ (instancetype)new NS_UNAVAILABLE;
/**
* Runs a Dart program on an Isolate from the main Dart library (i.e. the library that
* contains `main()`), using `main()` as the entrypoint (the default for Flutter projects),