开发者

Reachability app iPhone OS4 SDK issues

Apple's reachability application crashes at runtime after successful compile. Given the开发者_开发技巧 extent to which these routines are implemented, has anyone discovered the correction for this?

Thanks ...


I get rid of the crash by commenting the line 175 of the Reachability.m file:

173 + (Reachability*) reachabilityForLocalWiFi;
174 {
175     //[super init];
176     struct sockaddr_in localWifiAddress;
177     bzero(&localWifiAddress, sizeof(localWifiAddress));


Since the 01/06/2010, there is a minor bug fixes.

http://developer.apple.com/iphone/library/samplecode/Reachability/Introduction/Intro.html

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜