첨부 실행 코드는 나눔고딕코딩 폰트를 사용합니다.
728x90
반응형
728x170
FilePickerFileType filePickerFileType = new FilePickerFileType
(
    new Dictionary<DevicePlatform, IEnumerable<string>>
    {
        { DevicePlatform.iOS    , new[] { "public.my.comic.extension" } },
        { DevicePlatform.Android, new[] { "application/comics" } },
        { DevicePlatform.WinUI  , new[] { ".cbr", ".cbz" } },
        { DevicePlatform.Tizen  , new[] { "*/*" } },
        { DevicePlatform.macOS  , new[] { "cbr", "cbz" } },
    }
);

PickOptions options = new()
{
    PickerTitle = "Please select a comic file",
    FileTypes   = filePickerFileType
};

FileResult result = await FilePicker.Default.PickAsync(options);
728x90
반응형
그리드형(광고전용)
Posted by icodebroker

댓글을 달아 주세요