Files
yuyin_ios/SweetParty/常用工具/获取设备UDID/XYUUID.h
2025-08-08 11:05:33 +08:00

40 lines
848 B
Objective-C
Executable File
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

//
// XYUUID.h
// XYUUID
//
// Created by steve on 2016/7/21.
// Copyright © 2020 guojunliu.github.io. All rights reserved.
//
#import <Foundation/Foundation.h>
#define XYUUIDVersion @"1.0.0"
@interface XYUUID : NSObject
/// 随机UUID此值每次都会刷新
+ (NSString *)uuid;
/// 安装UUID每次重新安装此值会刷新
+ (NSString *)uuidForInstall;
/// 开启应用UUID每次开启应用此值会刷新
+ (NSString *)uuidForAppOpen;
/// IDFA开启关闭授权此值会刷新
+ (NSString *)uuidForIDFA;
/// IDFV
+ (NSString *)uuidForIDFV;
/// 设备信息UUID根据设备信息生成能维持一段时间内不变
+ (NSString *)uuidForDeviceInfo;
/// 钥匙串UUID卸载应用保持不变
+ (NSString *)uuidForKeychain;
/// 设备UUID设备唯一标识符
+ (NSString *)uuidForDevice;
@end