Search code examples
iphoneiosdatabasemac-address

Is the iphones mac address static? Looking for a way to identify which user is online


I am building an app where I do not want a loginsystem. I still want to be able to know what user is sending information to my online database. As far as I know, the UDID is not allowed to upload to any servers, so that is out of the question. Can I use the iphones mac address for this? If it is dynamic, it will change from time to time, and I won't be able to track it.


Solution

  • We use the MAC address as a unique identifier now the UDID has been deprecated.

    MAC addresses are hardware based and therefore cannot be changed.