ios - iOS 5初始页面过渡

标签 ios splash-screen transitions

我的客户希望他的启动图像淡出然后显示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/

相关文章:

ios - 如何根据播放的设备调整 Xcode 中的值(iPhone 与 iPad)

ios - 自动布局在表格 View 中不起作用

ios - 碰撞类型源错误 - spritekit swift 游戏

iOS:如何针对不同的目标进行开发

java - 如何仅在应用程序启动 "fresh"时显示启动画面?

android - 如何在 5 秒后自动显示 Activity ?

objective-c - 如何使用 Sprite Kit 逐渐模糊 SKSpriteNode 的图像?

flutter - 集成测试迁移后无法通过启动画面

Android 过渡框架向后移植?

events - 状态机将事件推送到自己的事件队列