Images “Saved from …” on iOS utilizing swift


Is there any approach the way to discover out what app saved/shared a picture to apple’s Images app on iOS utilizing ideally swift?
I’m not in a position to see any helpful metadata both in CIimage or PHAsset.

At the moment attempting one thing like this with now luck:

func metadata() {
    let choices = PHContentEditingInputRequestOptions()

    requestContentEditingInput(with: choices) { enter, _ in
        guard let url = enter?.fullSizeImageURL,
            let picture = CIImage(contentsOf: url) else { return }
        let properties = picture.properties
        print("(properties)")
    }
}

Any thought the place it may very well be saved?
See picture for what I have to entry.

enter image description here

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest Articles