- #import "CocosIOSPlatformBridge.h"
- #import <UIKit/UIKit.h>
- @implementation CocosIOSPlatformBridge
- + (nullable NSString *)getDeviceID {
- // Do not persist IDFV in backed-up storage: a restored backup can belong to
- // another device. Always obtain this device's identifier from the OS.
- return UIDevice.currentDevice.identifierForVendor.UUIDString;
- }
- @end
|