开发者

Reachability app iPhone OS4 SDK issues

开发者 https://www.devze.com 2022-12-26 04:44 出处:网络
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?

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

精彩评论

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