Swift Productions
Published in

Swift Productions

Play Video With AVPlayer | SwiftUI

iOS 14 introduced a native video player with SwiftUI, let’s play a video!

Difficulty: Beginner | Easy | Normal | Challenging

Environment : Xcode 12 & SwiftUI 2

Create a new project

Go to Xcode > Create a new project > SwiftUI interface & lifecycle > Name it…




Introducing Swift Productions: weekly articles and tutorials to learn how to build an App using Swift, SwiftUI & Firebase.

Recommended from Medium

Flutter: New plugin show good animation for ListView

11 Popular Writing Apps for Mac in 2021!

Supercharge API calls with Codable and Generics.

Using Location on an iOS Simulator

OneID iOS Team: 2020 In Review

SwiftUI | Email/Password Signup Using Firebase

Firebase and SwiftUI logo with an iPhone login page

Why I stopped using SwiftUI and AWS in my personal project

SwiftUI, Is it ready for my next project?

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Sullivan De Carli

Sullivan De Carli

Consultant in iOS Dev at Deloitte. I write about Design & App development. Let’s have a chat at hello@sullivandecarli.com

More from Medium

100 SwiftUI Recipes by DevTechie.com

Guide How To Display Modal Alert on iOS With Help of UIAlertController

Alert vs ActionSheet by Apple

SwiftUI. How To pass Binding variable to PreviewProvider

Stack Navigation on macOS in SwiftUI

Column and stack navigation styles compared