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
Post a Comment