摘要: -(BOOL)connectedToNetwork{//Createzeroaddystructsockaddr_inzeroAddress;bzero(&zeroAddress,sizeof(zeroAddress));zeroAddress.sin_len=sizeof(zeroAddress);zeroAddress.sin_family=AF_INET;//RecoverreachabilityflagsSCNetworkReachabilityRefdefaultRouteReachability=SCNetworkReachabilityCreateWithAddress( 阅读全文
posted @ 2012-08-22 21:20 zyip 阅读(360) 评论(0) 推荐(0)
摘要: If your iOS app generates a crash reportwith the exception code 0x8badfood, thismeans that the iOSwatchdogtimer killed your app because it was unresponsive; such a crash may have been caused by a synchronousnetworking call. 阅读全文
posted @ 2012-08-22 16:48 zyip 阅读(384) 评论(0) 推荐(0)