Description
MediaPicker is a SwiftUI library for a customizable photo and video picker. Unlike the iOS 16 PhotosPicker, which only gives you a button, MediaPicker gives you the whole picker view, so you can build it into your own screens and customize it as you like. It supports photos and videos, single and multiple selection, a full-screen view, and live photo preview and capture. The default library screen has album management, and a camera view lets users take photos and video, while PhotosPicker can only choose from the library. You present the picker with a Bool binding, for example in a sheet, and it returns an array of Media values that you can save. Each Media value tells you whether it is an image or a video, gives the duration of a video, and offers async methods to get its URL, thumbnail URL, data and thumbnail data. The Swift package is now named ExyteMediaPicker, replacing the old MediaPicker name. The source is public on GitHub under the exyte organization.…
Highlights
- Photo and video picker for SwiftUI
- Single and multiple selection
- Camera view with live photo support
- Album management in the library screen
- Fully customizable picker view
Ratings & Reviews
No ratings yet
Be the first to rate MediaPicker.
People also visit
MediaPicker FAQ
What is MediaPicker?
A customizable media picker for SwiftUI that returns photos and videos from the library or the camera.
How is it different from PhotosPicker?
PhotosPicker provides only a button and picks from the library, with no camera. MediaPicker provides the full picker view, with albums and a camera view.
What is the package called?
The Swift Package Manager package is named ExyteMediaPicker. The README says it was renamed from MediaPicker.
What does a selection return?
An array of Media structs. Each one has a type of image or video, a duration for videos, and async methods for its URL, thumbnail and data.
Is it open source?
Yes. The source code is public on GitHub under the exyte organization.
What are the best MediaPicker alternatives?
Popular alternatives to MediaPicker include AnyImageKit, PhotoBrowser and Player. See all MediaPicker alternatives


