Alternatives to NSHost in iPhone app

前端 未结 3 1633
广开言路
广开言路 2020-12-09 23:54

I\'m currently using this code

    NSHost *host = [NSHost hostWithAddress:hostname];
if (host == nil) {
    host = [NSHost hostWithName:hostname];
    if (ho         


        
3条回答
  •  孤街浪徒
    2020-12-10 00:12

    http://developer.apple.com/iphone/library/qa/qa2009/qa1652.html

    Got a great little answer through the Developer Support system, this worked perfectly.

提交回复
热议问题