我是 iphone 新手,我有一点疑问。我正在处理 audioPlayer 项目在我的屏幕上我有一个按钮下载这是屏幕
当我们点击下载此代码执行
(IBAction)gotoProgressViewController:(id)sender { @try {
//ShowProgressViewCont is initialized with the nibName showProgressViewController = [[ShowProgressViewCont alloc]initWithNibName:@"ShowProgressViewCont" bundle:nil]; //UINavigationController is initialized with the rootViewController showProgressViewController navigationController = [[UINavigationController alloc]initWithRootViewController:showProgressViewController]; //The transition style of the navigationController is set to UIModalTransitionStyleCrossDissolve navigationController.modalTransitionStyle = UIModalTransitionStyleCrossDissolve; //Presents a modal view managed by the given view controller to the user.Here navigation Controller that manages the modal view. [self presentModalViewController:navigationController animated:YES];
} @catch(NSException * e){NSLog(@"Exception At: %s %d %s %s %@", FILE , LINE , PRETTY_FUNCTION , FUNCTION ,e);}@finally{} }
然后单击下载后需要 5 到 6 秒才能出现下一个屏幕
在这里它包括最初有下载图像
我的实际问题是,当我们在 2 或 3 秒内单击初始屏幕中的下载按钮时,我们可以减少反应时间吗?我想要第二个屏幕