Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
zhangyongji
/
MRFramework
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Members
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
c013ba33
authored
Oct 31, 2019
by
Sarkizz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修正图片存到相册的逻辑
parent
9e3f8c7f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
MRFramework/MRFramework/Extensions/UIKit/UIImage+file.swift
+1
-1
No files found.
MRFramework/MRFramework/Extensions/UIKit/UIImage+file.swift
View file @
c013ba33
...
@@ -95,7 +95,7 @@ extension UIImage {
...
@@ -95,7 +95,7 @@ extension UIImage {
})
{
(
isSuccessed
,
error
)
in
})
{
(
isSuccessed
,
error
)
in
if
isSuccessed
{
if
isSuccessed
{
if
let
id
=
localId
{
if
let
id
=
localId
{
let
rs
=
PHAsset
.
fetchAssets
(
with
BurstIdentifier
:
id
,
options
:
nil
)
let
rs
=
PHAsset
.
fetchAssets
(
with
LocalIdentifiers
:
[
id
]
,
options
:
nil
)
if
let
asset
=
rs
.
firstObject
{
if
let
asset
=
rs
.
firstObject
{
let
options
=
PHContentEditingInputRequestOptions
()
let
options
=
PHContentEditingInputRequestOptions
()
options
.
canHandleAdjustmentData
=
{
data
in
options
.
canHandleAdjustmentData
=
{
data
in
...
...
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