When I retrieve mediaSubtypes through PHAsset, the Live Photo type may return 512.

The probability of this issue occurring is very high when retrieving a newly taken Live Photo. This leads to failure in determining the Live Photo type. How can this issue be resolved?

When I retrieve mediaSubtypes through PHAsset, the Live Photo type may return 512.
 
 
Q