バックグラウンドから sentRequest メソッドを呼び出す必要があります。sendRequest の作業が完了したら、iPhone でスプラッシュ スクリーンを呼び出す必要があります。私はこれを行っていますが、これはdispatch_asyncで適切に機能しません。バックグラウンドからすべての値を取得するためにこの CheckForUpdatesModal クラスを呼び出してから、View Controller を呼び出します。しかし、ブレークポイントとショーを配置すると、sendrequest メソッドのみが呼び出されます。このメソッドを呼び出していない
-(void)connectionDidFinishLoading:(NSURLConnection *)connection pleasehelp me here what is wrong some give me this ans to follow dispatch and my xcode version is4.2
    - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { 
                                      [BaseModalcopyDatabaseIfNeeded];
        dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_BACKGROUND, 0), ^{ 
            NSLog(@"pradeep"); // Here you can define your code to execute in  background.}); 
            CheckForUpdatesModal *CFUM = [[CheckForUpdatesModal alloc]init];
            [CFUM sendRequest];
            [CFUM release];
        });
             self.SSView = [[[SplashScreenView alloc] initWithNibName:@"SplashScreenView" bundle:nil] autorelease];          
            self.window.rootViewController = SSView;
           [self.window makeKeyAndVisible];
           return YES;
    }