私が無限ループに陥っていないこと、およびまだロード中であることをウォッチドッグに通知する適切な方法は何ですか?
クラッシュログに例外タイプ: 00000020 例外コード: 0x8badf00d が表示され、xcode とは別に iPhone からアプリを実行している場合のみ
時間がかかるコードは次のとおりです。
- (void)viewDidLoad {
[super viewDidLoad];
Reachability* reachability = [Reachability sharedReachability];
[reachability setHostName:@"www.apps2you.com"]; // set your host name here
NetworkStatus remoteHostStatus = [reachability remoteHostStatus];
if (remoteHostStatus == ReachableViaWiFiNetwork||remoteHostStatus == ReachableViaCarrierDataNetwork )
{
//getting the xml file and then getting the ad images online to display as splah ads.
}
else {
//or launch the main interface if there's no connectivity.
[self DisplayTabbar];
}
}
ありがとう。