问题
I use this code to check if my iphone support hevc hard decode
BOOL hardwareDecodeSupported = VTIsHardwareDecodeSupported(kCMVideoCodecType_HEVC);
but on console I got a warning: "AVDRegister - AppleAVDCheckPlatform() returned FALSE" and the hardwareDecodeSupported property is true. my device is iPhone7 with iOS11.3.1
来源:https://stackoverflow.com/questions/54193908/how-to-fix-avdregister-appleavdcheckplatform-returned-false