I am wondering if you could help me with loading data after the view has loaded. I am using a URL to load data into my label, though, over time you open the page it needs to download the information before displaying the view. Is there a way to display the view as the information is being downloaded, and the information appear when ready?
The code I am currently using is:
- (void)viewDidLoad {
NSURL *urlTitle = [NSURL URLWithString:@" URL GOES HERE "];
NSString *TitleLabel = [NSString stringWithContentsOfURL:urlTitle encoding:NSStringEncodingConversionAllowLossy error:nil];
TermTitleLabel.text = TitleLabel;
[super viewDidLoad];
// Do any additional setup after loading the view.
}