Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
B
BreastFeedingAI-Demo-iOS
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
张杰
BreastFeedingAI-Demo-iOS
Commits
e4daa18f
Commit
e4daa18f
authored
Jun 09, 2022
by
jzhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
a2534591
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
5 deletions
+8
-5
ViewController.swift
BreastFeedingDemo/ViewController.swift
+8
-5
No files found.
BreastFeedingDemo/ViewController.swift
View file @
e4daa18f
...
@@ -85,11 +85,14 @@ class ViewController: UIViewController {
...
@@ -85,11 +85,14 @@ class ViewController: UIViewController {
}
}
@IBAction
func
tapStart
(
_
sender
:
Any
)
{
@IBAction
func
tapStart
(
_
sender
:
Any
)
{
if
let
flutterEngine
=
(
UIApplication
.
shared
.
delegate
as?
AppDelegate
)?
.
flutterEngine
{
let
scanVC
=
FlutterViewController
(
project
:
nil
,
initialRoute
:
nil
,
nibName
:
nil
,
bundle
:
nil
)
let
scanVC
=
FlutterViewController
(
engine
:
flutterEngine
,
nibName
:
nil
,
bundle
:
nil
)
scanVC
.
modalPresentationStyle
=
.
overFullScreen
scanVC
.
modalPresentationStyle
=
.
overFullScreen
present
(
scanVC
,
animated
:
true
)
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
)
{
@IBAction
func
showPanel
(
_
sender
:
UIButton
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment