我的客户希望他的启动图像淡出然后显示UI。我不确定该怎么做。截至目前,它仅在加载后出现。有没有简单的方法可以做到这一点?
最佳答案
UIImageView *splash=[[UIImageView alloc] initWithImage:[UIImage imageNamed:@"splash"]];
[UIView animateWithDuration:1
animations:^{
splash.alpha = 0.0;
}
completion:^(BOOL finished)
{
[splash release];
}];
关于ios - iOS 5初始页面过渡,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10018133/