dimonovdd / Xamarin.MediaGallery

This plugin is designed to picking and save images and video files from native gallery of Android and iOS devices and capture photos
MIT License
148 stars 18 forks source link

PresentationSourceBounds for iPad #33

Closed dimonovdd closed 3 years ago

dimonovdd commented 3 years ago

Description

This specifies where the pop over will appear and point an arrow directly for iPad

Related to issue

API Changes

Added:

public class MediaPickRequest
{
    public int SelectionLimit { get; }
    public MediaFileType[] Types { get; }
    public Rectangle PresentationSourceBounds { get; set; }
}
public static class MediaGallery
{
    public static async Task<MediaPickResult> PickAsync(MediaPickRequest request)
}

PR Checklist