开发者

iOS ViewController After Load Method

开发者 https://www.devze.com 2023-03-17 16:12 出处:网络
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

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 c开发者_开发知识库alled before the views come into view...

I am probably being really dumb..

Any help would be great.

Disco


You can use

- (void)viewWillLoad;

and

- (void)viewDidAppear:(BOOL)animated;

to do what you need.


How about

 - (void)viewDidAppear:(BOOL)animated;
0

精彩评论

暂无评论...
验证码 换一张
取 消