mirror of
https://github.com/flutter/samples.git
synced 2026-04-07 12:14:27 +00:00
let add-to-app ios demo page transitions be animated (#603)
This commit is contained in:
@@ -44,7 +44,7 @@ class ViewController: UIViewController {
|
||||
@IBAction func buttonWasTapped(_ sender: Any) {
|
||||
if let flutterEngine = (UIApplication.shared.delegate as? AppDelegate)?.flutterEngine {
|
||||
let flutterViewController = FlutterViewController(engine: flutterEngine, nibName: nil, bundle: nil)
|
||||
self.present(flutterViewController, animated: false, completion: nil)
|
||||
self.present(flutterViewController, animated: true, completion: nil)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user