
You can use NSHost.
you can return name(string) or names(array)
so if you return the array of names, what mine does is return 3 values.
1. "iPhone"
2. "Aaron Alexander's iPhone"
3. "localhost"
you prob want #2, which seems to be what the name is in itunes for your iphone.
Tagi: iphe, iphone, itunes, aar, array, alexander