https://github.com/jakeboxer/JBDeviceOwner
Most iPhones are named "Jake Boxer's iPhone" (sometimes with a different person's name instead of mine). Most iPhones have their owner saved in their address book.
JBDeviceOwner extracts the owner's name from the device name, finds the matching record in the address book, and populates the JBDeviceOwner instance with the data from the record.
If JBDeviceOwner can't figure out the owner's name, or if it can't find a matching record in the address book, it won't return anything.
呃,大家的通讯录里有没有自己?