1 Reply Latest reply on Feb 15, 2012 3:01 PM by ChristopherTotty

    How to programmatically get iPhone/iPad UDID

    jxyiliu@yahoo.ca

      Hi All,

       

      Is there a way that we can get iphone/iPad UDID or Serial number?

       

      When devices talk to the server, I want this info to be sent in the header which will be used for monitoring each session. But I do not know how can I get this info.

       

      If actionscript can not do it for me, how can I extant actionscript to call native apple API then?

       

      Thanks in advance for any help.

        • 1. Re: How to programmatically get iPhone/iPad UDID
          ChristopherTotty Level 2

          I have searched for this in the past, and as far as I am aware, the only way to get this info would be to use a Native Extension that would call the Obj-C code which would return the UDID.

           

          However, keep in mind that the function to do this has been marked by Apple as deprecated as of iOS 5.  So, even if you wrote the Native Extension for this, it will cease to function at some point in the future.