Post

Replies

Boosts

Views

Activity

Xcode SwiftUI video editing splash screen
Hi, I'm trying to create our app splash screen which I need a video to play in the background. I've currently got the video into my project under the following code with AV kit/foundation imported:     VideoPlayer(player: AVPlayer(url: Bundle.main.url(forResource: "XXXXXX", withExtension: "mp4")!))       .frame(height: 400)       But I need to complete three tasks: Make the video full screen Remove the player buttons Play the video automatically All resources online seem outdated and don't work on Xcode 14. Any help from a pro would be greatly appreciated! Thanks
2
0
1.2k
Dec ’22