Skip to content

Commit b663f19

Browse files
committed
Correct Mac and iOS File types.
Tested and added screenshots for Mac and iPhone.
1 parent 11cd49e commit b663f19

9 files changed

+2
-1
lines changed

LukeMauiFilePicker.Demo/MainPage.xaml.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ public partial class MainPage : ContentPage
77
static readonly Dictionary<DevicePlatform, IEnumerable<string>> FileType = new()
88
{
99
{ DevicePlatform.Android, new[] { "text/*" } } ,
10-
{ DevicePlatform.iOS, new[] { ".txt", ".json" } },
10+
{ DevicePlatform.iOS, new[] { "public.json", "public.plain-text" } },
11+
{ DevicePlatform.MacCatalyst, new[] { "public.json", "public.plain-text" } },
1112
{ DevicePlatform.WinUI, new[] { ".txt", ".json" } }
1213
};
1314

imgs/ios-pick-multi.png

608 KB
Loading

imgs/ios-pick-single.png

517 KB
Loading

imgs/ios-save.png

207 KB
Loading

imgs/ios-ui.png

182 KB
Loading

imgs/mac-pick-multi.png

598 KB
Loading

imgs/mac-pick-single.png

576 KB
Loading

imgs/mac-save.png

481 KB
Loading

imgs/mac-ui.png

407 KB
Loading

0 commit comments

Comments
 (0)