Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

1998code/19-Splash-Screen-for-SwiftUI

Repository files navigation

SplashScreenKit

A New Splash Screen for SwiftUI

Screenshot 2025年02月10日 at 8 18 53 PM

Version

1.0.0 (Early Preview)
⚠️ Various issues existed, not suitable for the production environment!

Features

  • Drop Transition
  • Auto Rotation with paging
  • Text Effect
  • Text Transition
  • Fade-in/out Transition/Animation

Beautiful Previews

Apple TV 1 Final Cut Camera 1 Find My 1 Journal
Apple TV Final Cut Camera Find My Journal

Environment / Tested on

  • 📲 iOS18+ required
  • Swift 6.0
  • iPhone 16 Pro / Pro Max
  • Xcode 16.2 (16C5032a)

How to use

  1. Open Xcode and (create) a project
  2. In Package Dependencies, add https://github.com/1998code/19-Splash-Screen-for-SwiftUI
  3. Then import SplashScreenKit on top
  4. Sample Code:
struct ContentView: View {
 var body: some View {
 SplashScreen(
 images: [],
 title: "STRING",
 product: "STRING",
 caption: "STRING",
 cta: "STRING"
 ) {
 // Button Action
 }
 }
}

Project Demo

Path: Demo/Demo.xcodeproj

Known Issues

Major

  • Gesture is disabled due to multiple bugs
    • Dragging (from left to right) is not working due to offset; and
    • Dragging (from right to left) works but fails the currentIndex
  • Only compatible with iOS18+, like Apple Invites app
  • Only tested on iPhone 16 Pro/Pro Max (Resize problem on small devices)
  • Possible memory leakage when inserting too many items into the array

Minor

  • The auto-rotation+paging feels like a "Conveyor belt sushi 🍣", not so smooth.

Copyright

App Store Screenshots © 2025 Apple Inc.

Reference

Creating visual effects with SwiftUI - Apple Developer

Related Posts on X

https://x.com/1998design/status/1888641485303878110
https://x.com/1998design/status/1888945523845140677

Combinations

Use SwiftNEWKit together, 2X effective!

License

MIT

Supported By

About

Be the first to try the next-gen SwiftUI Splash Screen. [ AI Assistant available below ]

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published

Languages

AltStyle によって変換されたページ (->オリジナル) /