ios - How to add a custom splash that dissapears after a custom time to allow for webview to load. Objective-c -


i'm using code show splash screen thing see black.

uistoryboard *storyboard = [uistoryboard storyboardwithname:@"mainstoryboard_ipad" bundle:nil]; splashviewcontroller *splash = [storyboard instantiateviewcontrollerwithidentifier:@"splash"]; splash.modaltransitionstyle = uimodaltransitionstylecrossdissolve; splash.modalpresentationstyle = uimodalpresentationfullscreen; [self.window addsubview:splash.view]; 

the view controller of splash screen loading because break points being called cant see view controller see black.

i think instead of adding splash.view window subview can use presentviewcontroller:animated:completion: present splash view controller.


Comments

Popular posts from this blog

java - activate/deactivate sonar maven plugin by profile? -

python - TypeError: can only concatenate tuple (not "float") to tuple -

java - What is the difference between String. and String.this. ? -