Commit c013ba33 by Sarkizz

修正图片存到相册的逻辑

parent 9e3f8c7f
......@@ -95,7 +95,7 @@ extension UIImage {
}) { (isSuccessed, error) in
if isSuccessed {
if let id = localId {
let rs = PHAsset.fetchAssets(withBurstIdentifier: id, options: nil)
let rs = PHAsset.fetchAssets(withLocalIdentifiers: [id], options: nil)
if let asset = rs.firstObject {
let options = PHContentEditingInputRequestOptions()
options.canHandleAdjustmentData = { data in
......
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 sign in to comment