My viewDidAppear methods is in below. My view has a activieIndicator that is animating and a imageView. In viewDidAppear I load an image from my server which will be used as an image of the above imageView. I want until my image is fully loaded, my view will show the animating indicator. But I can not do it. Until full image load, i can not see my view. during image loading i see a black view.
-(void)viewDidAppear
{
NSLog(@"view did appear");
[super viewDidAppear:animated];
NSData *data=[NSData dataWithContentsOfURL:[NSURL
URLWithString:@"http://riseuplabs.com/applications/christmaswallpaper/images/1.jpg"]];
}
is there any solution???