How to get UUID in swift?

UIDevice.current.identifierForVendor?.uuidString