How to get UDID programmatically in Swift or Objective-c

Hi all,


I have trouble in getting UDID of iphone or ipad


I want to get a UDID and use it in my code but i don`t know which class has this information.


Please help, Thanks!

How to get UDID programmatically in Swift or Objective-c
 
 
Q