Skip to content

[iOS] MediaPicker PickPhotosAsync getting file name in contentType property #33348

@ricavir11

Description

@ricavir11

Description

Picking one or more images with :

var photos = await MediaPicker.PickPhotosAsync(new MediaPickerOptions { Title = "Pick images", PreserveMetaData = true, RotateImage = true, SelectionLimit = 10 })

When trying to get file name from result, FileName property contains a GUID and ContentType property contains the actual file name.

Image

Steps to Reproduce

No response

Link to public reproduction project repository

No response

Version with bug

10.0.20

Is this a regression from previous behavior?

Yes, this used to work in .NET MAUI

Last version that worked well

9.0.120 SR12

Affected platforms

iOS

Affected platform versions

No response

Did you find any workaround?

No response

Relevant log output

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions