ios - How to delay loading first View Controller? -


i want delay loading first view controller until function in appdelegate finished. function should ready data first view controller. now, first view loads without data should prepared function in appdelegate

what recommend way or example? please.

should maybe move code gets data ready viewcontrollers "viewdidload" method?

this method gets called after view controller goes memory , elements accessible, before becomes visible. processing here have complete before content shows, , put methods things server etc.

if processing takes long time, use spinner let user know something's happening, because nothing show until processing done, user might think hung.


Comments

Popular posts from this blog

javascript - oscilloscope of speaker input stops rendering after a few seconds -

javascript - gulp-nodemon - nodejs restart after file change - Error: listen EADDRINUSE events.js:85 -

Fatal Python error: Py_Initialize: unable to load the file system codec. ImportError: No module named 'encodings' -