iOS/코드조각

[iOS, Swift] 핸드폰 UUID 확인하기

검은참깨두유vm 2022. 8. 30. 18:06
반응형

iOS 15.5, Xcode 13.31, Swift 5, UIKit 환경에서 진행했습니다.

 

let deviceId = UIDevice.current.identifierForVendor!.uuidString
print(deviceId)
//6BC87C85-XXXX-44B4-XXXX-XXXXD6408854

 

반응형