[progressind startAnimating];
[self performSelectorOnMainThread:@selector(methodgoeshere:) withObject:[NSDictionary dictionaryWithObjectsAndKeys: aURL, @"aURL", aURL2, @"aURL2", nil]
waitUntilDone:YES ];
[progressind stopAnimating];
[navigationController pushViewController:vFullscreen animated:YES];
In the methodgoeshere, i have a UIImageview which i fill with the image once its downloaded but the problem is, the activityprogress is not working as i thought, it doesnt spin.