Post

Replies

Boosts

Views

Activity

How to change the frame of videoplayer to fit the size of video in swiftUI?
I add a videoplayer to play a specific video, but the default videoPlayer view is too large(as the red rectangle in the picture). what should I do to make the videoPlayer view to fit the video's size I'm playing automatic(as the green rectangle in the picture)?
Replies
0
Boosts
0
Views
1.1k
Activity
Sep ’22