title: How do I get hostname of iOS device
body: <p>I'm not sure how to get the hostname of my iOS device? I'd like to compare NSNetServices against it, to ensure that it doesn't include its own hostname in the list of available services.</p>