打開文件目錄輸入命令行:
grep -r advertisingIdentifier .
出現match 則含有廣告標識
<QuartzCore/CAMetalLayer.h>在模擬器下無法使用,在真機下可用