Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
enzevalos_iphone_workspace
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
enzevalos
enzevalos_iphone_workspace
Commits
6e8126ff
Commit
6e8126ff
authored
4 years ago
by
Aylin
Browse files
Options
Downloads
Patches
Plain Diff
Committing ImagePicker
parent
da290620
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ImagePicker.swift
+1
-2
1 addition, 2 deletions
ImagePicker.swift
with
1 addition
and
2 deletions
ImagePicker.swift
+
1
−
2
View file @
6e8126ff
...
...
@@ -6,13 +6,12 @@
// Copyright © 2021 fu-berlin. All rights reserved.
/// This file is a SwiftUI wrapper for UIImagePickerController
/// it can be used it to attach pictures to a mail and preview them
import
SwiftUI
struct
ImagePicker
:
UIViewControllerRepresentable
{
@Environment
(\
.
presentationMode
)
var
presentationMode
@Binding
var
image
:
UIImage
?
var
xy
=
3
class
Coordinator
:
NSObject
,
UINavigationControllerDelegate
,
UIImagePickerControllerDelegate
{
let
parent
:
ImagePicker
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment