![]() ![]() This is a new addition to the AVKit framework that was available since iOS 8, with its purpose being to provide a built-in interface for playing videos and audio within apps.įor the purposes of this post, I’ve added a sample video file (.mov file) to a new project in Xcode. Let’s start with the brand new view that SwiftUI supports in iOS 14 and above, called VideoPlayer. We are going to meet all that in this post, and provide answers and solutions that will let you integrate video playback capabilities in your apps in no time at all! The VideoPlayer View ![]() But what if iOS 13 must be supported as well? How can we playback video files in that case, and what are the additional required actions developers should take? ![]() With SwiftUI and the coming of iOS 14, this has become a one line task using the brand new VideoPlayer view. Playing back videos in iOS apps was never a particularly difficult job.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |