1

I am currently creating an app that charges fines through illegal driveway videos.

An illegal driving car video taken by a complainant must submit the original video, but it will be a problem if you submit the converted video instead of the original video.

To determine if it is the original video or not, I want to know the original video creation date of the video converted by someone?

1 Answer 1

1

You can achieve this by using the creationDate property of PHAsset:

let asset = PHAsset.fetchAssetsWithALAssetURLs([videoUrl], options: nil).firstObject as! PHAsset
print("Creation Date: " + String(asset.creationDate))
Sign up to request clarification or add additional context in comments.

2 Comments

creation date be immutable ?
No, you can change the creation date.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.