I want to make an unique string or hash via Touch ID on iPhones in Swift. I search a lot about it but I didn't find a solution to make it.
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
you can NOT do this.
you can use universally unique identifier (UUID) of an ios Device.
let uuid = NSUUID().UUIDString
or generate your own unique identifier using irreversible algorithms.