Commit e4daa18f authored by jzhang's avatar jzhang

no message

parent a2534591
......@@ -85,11 +85,14 @@ class ViewController: UIViewController {
}
@IBAction func tapStart(_ sender: Any) {
if let flutterEngine = (UIApplication.shared.delegate as? AppDelegate)?.flutterEngine {
let scanVC = FlutterViewController(engine: flutterEngine, nibName: nil, bundle: nil)
scanVC.modalPresentationStyle = .overFullScreen
present(scanVC, animated: true)
}
let scanVC = FlutterViewController(project: nil, initialRoute: nil, nibName: nil, bundle: nil)
scanVC.modalPresentationStyle = .overFullScreen
present(scanVC, animated: true)
// if let flutterEngine = (UIApplication.shared.delegate as? AppDelegate)?.flutterEngine {
// let scanVC = FlutterViewController(engine: flutterEngine, nibName: nil, bundle: nil)
// scanVC.modalPresentationStyle = .overFullScreen
// present(scanVC, animated: true)
// }
}
@IBAction func showPanel(_ sender: UIButton) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment