Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
react-native-syan-image-picker
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
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
OpenSource
react-native-syan-image-picker
Commits
9ea11c97
Unverified
Commit
9ea11c97
authored
Apr 10, 2018
by
少言
Committed by
GitHub
Apr 10, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #29 from a6051529/master
fix dismiss not completion
parents
ccd9496f
1cc21f9c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
47 additions
and
46 deletions
+47
-46
RNSyanImagePicker.m
ios/RNSyanImagePicker.m
+47
-46
No files found.
ios/RNSyanImagePicker.m
View file @
9ea11c97
...
@@ -227,7 +227,7 @@ RCT_EXPORT_METHOD(removeAllPhoto) {
...
@@ -227,7 +227,7 @@ RCT_EXPORT_METHOD(removeAllPhoto) {
}
}
-
(
void
)
imagePickerController
:
(
UIImagePickerController
*
)
picker
didFinishPickingMediaWithInfo
:
(
NSDictionary
*
)
info
{
-
(
void
)
imagePickerController
:
(
UIImagePickerController
*
)
picker
didFinishPickingMediaWithInfo
:
(
NSDictionary
*
)
info
{
[
picker
dismissViewControllerAnimated
:
YES
completion
:
nil
];
[
picker
dismissViewControllerAnimated
:
YES
completion
:
^
{
NSString
*
type
=
[
info
objectForKey
:
UIImagePickerControllerMediaType
];
NSString
*
type
=
[
info
objectForKey
:
UIImagePickerControllerMediaType
];
if
([
type
isEqualToString
:
@"public.image"
])
{
if
([
type
isEqualToString
:
@"public.image"
])
{
...
@@ -276,6 +276,7 @@ RCT_EXPORT_METHOD(removeAllPhoto) {
...
@@ -276,6 +276,7 @@ RCT_EXPORT_METHOD(removeAllPhoto) {
}
}
}];
}];
}
}
}];
}
}
-
(
void
)
imagePickerControllerDidCancel
:
(
UIImagePickerController
*
)
picker
{
-
(
void
)
imagePickerControllerDidCancel
:
(
UIImagePickerController
*
)
picker
{
...
...
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