Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot use SetModalPresentationStyle in MAUI project #25209

Open
vsfeedback opened this issue Oct 11, 2024 · 3 comments
Open

Cannot use SetModalPresentationStyle in MAUI project #25209

vsfeedback opened this issue Oct 11, 2024 · 3 comments
Labels
area-controls-modal area-core-platform Integration with platforms s/needs-repro Attach a solution or code which reproduces the issue s/no-recent-activity Issue has had no recent activity t/bug Something isn't working

Comments

@vsfeedback
Copy link

This issue has been moved from a ticket on Developer Community.


Hello! we are migrating out app from xamarin to MAUI.

Building for Iphone we met this error but, reading this documentation this code should work without problems, what am I missing?
ios.jpg

I can see that the:

using Microsoft.Maui.Controls.PlatformConfiguration;
using Microsoft.Maui.Controls.PlatformConfiguration.iOSSpecific;

is not recognized from VS, so I think that is why the On is not going to work...
can you please help me?

Thank you very much


Original Comments

Feedback Bot on 9/12/2024, 10:59 PM:

We have directed your feedback to the appropriate engineering team for further evaluation. The team will review the feedback and notify you about the next steps.

TJ Lambert [MSFT] on 9/16/2024, 09:08 AM:

That is interesting and does look like it should work the way you are using it. Could you share the whole file, the other errors, and also let me know what version of MAUI you are using?

Angelo Lazzari on 9/16/2024, 08:36 PM:

(private comment, text removed)

Angelo Lazzari on 9/27/2024, 03:13 AM:

Hi, do you have any news on this? thank you very much!

@samhouts samhouts added area-controls-modal t/bug Something isn't working labels Oct 11, 2024
@StephaneDelcroix
Copy link
Contributor

This looks the correct usage. could you please share a small repro project ? thanks

@StephaneDelcroix StephaneDelcroix added s/needs-repro Attach a solution or code which reproduces the issue area-core-platform Integration with platforms labels Oct 15, 2024
Copy link
Contributor

Hi @vsfeedback. We have added the "s/needs-repro" label to this issue, which indicates that we require steps and sample code to reproduce the issue before we can take further action. Please try to create a minimal sample project/solution or code samples which reproduce the issue, ideally as a GitHub repo that we can clone. See more details about creating repros here: https://github.com/dotnet/maui/blob/main/.github/repro.md

This issue will be closed automatically in 7 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time.

@dotnet-policy-service dotnet-policy-service bot added the s/no-recent-activity Issue has had no recent activity label Oct 21, 2024
Copy link
Contributor

This issue has been automatically marked as stale because it has been marked as requiring author feedback to reproduce the issue but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment. If it is closed, feel free to comment when you are able to provide the additional information and we will re-investigate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-controls-modal area-core-platform Integration with platforms s/needs-repro Attach a solution or code which reproduces the issue s/no-recent-activity Issue has had no recent activity t/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants