iOS: UDID is upper case

≯℡__Kan透↙ 提交于 2020-01-03 21:02:44

问题


I know about iOS device UDID and that are case-sensitive. But I have a query, my client sent me all upper case in UDID characters. I have never seen any upper case letters in UDID's. I don't find any document that says UDID can have upper case letters consists. I need to create a right build to them. Could someone advise, what should I ask my client now? I can't say them, UDID is incorrect. Can I ask them to make sure the case-sensitive and send me back? Also, Can UDID have upper and lower case combination in letters?

Thank you!


回答1:


You can just convert it back to lowercase safely.

UDIDs are the output of a SHA1 function, and is represented as is typical as a string of hexadecimal characters. You don't need to worry about "a" meaning something different than "A", it's just different formatting for the same values. Just change the capitalization to the format you desire (lowercase, in this case), and not worry about it, unless you have other reason to believe the client sent you the wrong thing (wrong length, and characters other than 0-9, a-f/A-F would both warrant a raised eyebrow).




回答2:


Your client Send this link and say got this Original UDID.




回答3:


Or you can send your client http://get.udid.io/ and client will send you UDID in few minutes.



来源:https://stackoverflow.com/questions/23947925/ios-udid-is-upper-case

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!