ios - For the first time I click on a cell, it is taking some time to load the next view controller. Why? -


i'm initializing view controller in didselectrowatindexpath method, follows,

guideviewcontroller *gviewcontroller = [[guideviewcontroller alloc] initwithguideline:obj withtitle:@"" htmlfilepath:@""]; 

and pushing using navigation controller follows,

[[self.parent navigationcontroller] pushviewcontroller:gviewcontroller animated:yes]; 

this taking 3 seconds load first time install in device, next time onwards smooth , fast. i'm wondering how working fast next time select cell. please suggest ideas fix issue. fyi: project non-arc.

i have developed app uitabbarcontroller.

and wanted app fast. because tab loooooong load, i've preloaded them doing :

viewcontrollertopreload.view 

indeed, calling view call viewdidload method of uiviewcontroller : viewcontrollertopreload. can make call in viewdidappear: method of current view controller, load next view controller, faster appear when called.


Comments

Popular posts from this blog

Change php variable from jquery value using ajax (same page) -

Pull out data related to my apps from Android Play Store and iOS App Store -

How can I fetch data from a web server in an android application? -