I have connected two iPhones via bluetooth programmatically. Now I want to know the name of the device that I am connected to and the name of my device both programmatically.
I have connected two iPhones via bluetooth programmatically. Now I want to know the
Share
To get your device’s name:
To get the other device’s name:
And if you use
initWithSessionID:displayName:sessionMode:to make the session, you can just use that display name as your device’s name.Programming Guide here.