Closed elmernocon closed 7 years ago
@jfversluis any news?
this will fix this. it's not showing because importMenu.View.Bounds is set initially to (x: 0, y: 0, width: yourscreen's width, height: yourscreen's height); anchoring the presPopover to that point, instead of bottom of the screen.
if (presPopover != null)
{
CGRect rect = importMenu.View.Bounds;
rect.Y = rect.Height;
presPopover.SourceView = importMenu.View;
presPopover.SourceRect = rect;
...
}
Xam.Plugin.FilePicker Version (NuGet + my modifications) Xamarin Forms Version 2.3.3.180 Xamarin.iOS Version 10.3
Before calling 'FileData fileData = await CrossFilePicker.Current.PickFile();'
After calling 'FileData fileData = await CrossFilePicker.Current.PickFile();' When clicking on anything it will treat it as a UIDocumentMenuViewController.WasCancelled.
My Modifications (ActiveViewController & OnCancelled return null.)