iphone - when iam click on download button it takes long time to goto next screen -


i new iphone,i have small doubt.i working on audioplayer project here in screen have button download screen my initial screen having download button in top right corner

when click download code executes

  • (ibaction)gotoprogressviewcontroller:(id)sender { @try {

    //showprogressviewcont initialized nibname showprogressviewcontroller = [[showprogressviewcont alloc]initwithnibname:@"showprogressviewcont" bundle:nil]; //uinavigationcontroller initialized rootviewcontroller showprogressviewcontroller navigationcontroller = [[uinavigationcontroller alloc]initwithrootviewcontroller:showprogressviewcontroller]; //the transition style of navigationcontroller set uimodaltransitionstylecrossdissolve navigationcontroller.modaltransitionstyle = uimodaltransitionstylecrossdissolve; //presents modal view managed given view controller user.here navigation controller manages modal view. [self presentmodalviewcontroller:navigationcontroller animated:yes]; 

    } @catch(nsexception * e){nslog(@"exception at: %s %d %s %s %@",file,line,pretty_function,function,e);}@finally{} }

then after click download takes 5 6 sec appear next screen is

when click download button in initial screen appears screen

here consists having download images

my actual question can reduce reaction time when click on download button in initial screen in 2 or 3seconds want second screen

yes can reduce download time, downloading image on second thread, please consider example lazy table

it downloads images on second thread, increasing responsiveness of application


Comments

Popular posts from this blog

javascript - backbone.js Collection.add() doesn't `construct` (`initialize`) an object -

php - Get uncommon values from two or more arrays -

Adding duplicate array rows in Php -