StuStirling
StuStirling

Reputation: 16221

iOS ViewController After Load Method

I'm trying to find a method thats called once everything has been loaded and displayed. The reason I want to do this is because I have some images that take some time to load in so instead of showing them a black screen I want to show a loading page and then call a setup method.
However the only methods I can find are called before the views come into view...
I am probably being really dumb..
Any help would be great.
Disco

Upvotes: 3

Views: 1476

Answers (2)

Friedrik
Friedrik

Reputation: 399

How about

 - (void)viewDidAppear:(BOOL)animated;

Upvotes: 3

CristiC
CristiC

Reputation: 22708

You can use

- (void)viewWillLoad;

and

- (void)viewDidAppear:(BOOL)animated;

to do what you need.

Upvotes: 5

Related Questions