When you see someone's device name through Airdrop (when using iPhones/iPads, for example), is there any way to programmatically get and store that device name? I thought it might involve the UIDevice class, but that seems more for getting my OWN device name.
In my app, I'd like to set up a local dictionary for frequently-encountered contacts, where the user can take a picture and save it along with the peer's device name (right now you can't always guarantee the other person will have a photo associated with his or her device). I know how to take and store a picture programmatically. I just need to figure out how to access and save another person's device name when in Airdrop range to associate with the photo.
I'm open to other methods besides Airdrop to get and store a device name to associate with a photo, but I want to keep the ability to read only devices that are within close proximity of the sender's device. Airdrop just seems like a good way to do that.
Thanks in advance.
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire