19 Splash Screen for SwiftUI
Be the first to try the next-gen SwiftUI Splash Screen. [ AI Assistant available below ]
**27.0.1 (Stable Release)** *Adds a lightweight Apple Sports-inspired Simple Mode alongside the existing carousel and static layouts.* The project is written primarily in Swift, distributed under the MIT License license, first published in 2025. Key topics include: splash, splashscreen, splashscreenkit, swift, swiftui.
SplashScreenKit
A New Splash Screen for SwiftUI
<img width="1585" alt="Screenshot 2025-02-10 at 8 18 53 PM" src="https://github.com/user-attachments/assets/7f35a079-f74d-4c35-8f25-ea3239cc645f" />| Region | Languages |
|---|---|
| Global | English |
| Asia | 廣東話 繁體中文 简体中文 日本語 한국어 Indo हिन्दी |
| Europe | Français Deutsch Español Русский Polski Türkçe |
| ME & Africa | العربية Kiswahili |
Version
27.0.1 (Stable Release) <br>
Adds a lightweight Apple Sports-inspired Simple Mode alongside the existing carousel and static layouts.
- Simple Mode: Full-screen text-first splash screen with configurable SF Symbol logo, gradient background, footer copy, and inline privacy link.
- Seamless Infinite Carousel: New virtual-index logic prevents "flying cards" and ensures smooth infinite rotation.
- Performance Optimized: Metal-accelerated rendering (
drawingGroup) and efficient per-frame updates viaRunLoop. - Momentum Scrolling: Butter-smooth, velocity-based interactive gestures with native deceleration feel.
- AsyncImage Support: Pre-validated URL handling for lag-free remote image loading.
- Three Display Modes: Choose between dynamic
.carousel, elegant.static, and lightweight.simplelayouts. - Advanced Text Effects: Beautiful text rendering and transitions using SwiftUI 6.0 features.
Environment / Tested on
- 📲 iOS 18.0+
- Swift 6.0
- Xcode 16.0+
How to use
Add the package to your project: https://github.com/1998code/19-Splash-Screen-for-SwiftUI
Carousel Mode (Default)
The classic interactive experience with rotating images.
<img src="https://github.com/user-attachments/assets/28c8a5dc-cb8c-4aa4-b0a8-d7139ce3cefc" width="350" />swiftSplashScreen( images: [ Photo("ImageName1"), Photo("https://example.com/image.jpg") // Remote URLs supported! ], title: "Welcome to", product: "Apple TV", caption: "Browse all movies, TV shows, and more.", cta: "Watch Now" ) { print("Action Button Tapped") }
Static Mode
A clean, scrollable layout perfect for product introductions.
<img src="https://github.com/user-attachments/assets/44f9aeef-7906-4251-b338-f9504b30b278" width="350" />swiftSplashScreen( mode: .static, images: [Photo("https://url.to/header_image.jpg")], title: "Creator Studio", product: "3 months of Creator Studio for free.", caption: "Bring your vision to life with powerful apps.", features: [ SplashFeature(title: "Feature 1", icon: "video"), SplashFeature(title: "Feature 2", icon: "waveform") ], footer: "Terms and conditions apply.", cta: "Accept Offer", secondaryCta: "See All Plans", secondaryAction: { print("Secondary action tapped") } ) { print("Primary action tapped") }
Simple Mode (NEW)
A text-first, Apple Sports-inspired welcome screen for lightweight onboarding.
swiftSplashScreen( mode: .simple, logoSystemName: "apple.logo", title: "Welcome to", product: "Sports", caption: "Get real-time scores, stats, and standings for the teams and leagues you follow.", footer: "Apple may use information about your subscriptions to show relevant offers. Device identifiers may be used to keep scores and other data up to date.", footerLink: "See how your data is managed...", footerLinkURL: URL(string: "https://www.apple.com/legal/privacy/data/en/apple-sports/"), cta: "Continue" ) { print("Continue tapped") }
logoSystemName accepts any SF Symbol name and defaults to "apple.logo". Simple Mode does not require images, so the images parameter can be omitted.
Known Issues
- Only compatible with iOS 18+, leveraging the latest SwiftUI
TextRendererand visual effect APIs. - Resizing: Carousel mode is optimized for Pro/Pro Max. Static mode includes a ScrollView to handle smaller devices and varying content lengths. Simple Mode scales its typography and spacing from the device width.
Copyright
App Store Screenshots © 2025 Apple Inc.
Reference
Creating visual effects with SwiftUI - Apple Developer
Related Posts on X
https://x.com/1998design/status/2019418746553790664 <br>
https://x.com/1998design/status/1888641485303878110 <br>
https://x.com/1998design/status/1888945523845140677
Combinations
Use SwiftNEWKit together, 2X effective!
<br><br>
<img height=300 src="https://github.com/user-attachments/assets/cc88b31d-326f-4a43-9e6a-5f583fcf153b" />
License
MIT
Supported By
<a href="https://m.do.co/c/ce873177d9ab"> <img src="https://opensource.nyc3.cdn.digitaloceanspaces.com/attribution/assets/SVG/DO_Logo_horizontal_blue.svg" width="201px"> </a> <br/><br/>Contributors
Showing top 1 contributor by commit count.
