Want to build a TikTok-style full-screen video player in SwiftUI? In this video, we’ll create a seamless scrolling video experience using AVKit and AVPlayer. You'll learn how to:
✅ Implement vertical scrolling videos like TikTok
✅ Auto-play & pause videos based on visibility
✅ Manage AVPlayer efficiently with @StateObject
✅ Understand why @State can’t be initialized in an initializer
✅ Avoid common SwiftUI video playback pitfalls
By the end of this tutorial, you'll have a smooth, full-screen scrolling video UI that mimics TikTok’s behavior! 🚀
🎓 Want to level up your SwiftUI skills? Check out my full course here: https://www.udemy.com/course/draft/64...
🔔 Subscribe for more SwiftUI tutorials!
👍 Like & Comment if you found this helpful!