Questions tagged [maui-ios]

22 questions
5
votes
1 answer

Visual Studio 2022 ignores selected framework context for .NET MAUI

I'm trying to add platform-specific code for iOS to my .NET MAUI app. I'm targeting an iPhone with net6.0-ios: However, Visual Studio thinks I'm targeting Android: Compiling and running the app works fine (breakpoints within iOS preprocessor…
Ted Nyberg
  • 7,001
  • 7
  • 41
  • 72
3
votes
1 answer

CollectionView scroll in .NET MAUI disturbs UI when there are more data

CollectionView UI gets overlapped when perform scroll in iOS -> iPad device. Check the attached image. MyPage.xaml
Divyesh
  • 2,085
  • 20
  • 35
3
votes
2 answers

.net maui clang++ exited with code 1 ld:framework not found system

I recently updated to the latest macos and xcode (14.3) and it's broke my .net build on ios (for the second time). I've made sure to set the SDK location in Visual Preferences > SDK Locations > Apple and confirmed this in the terminal xcode-select…
Jimmy
  • 2,191
  • 6
  • 25
  • 45
3
votes
0 answers

Why is my MAUI app crashing in release mode but works fine in debug mode?

I have a MAUI app that is build on abp.io commercial framework that works fine in debug mode, but crashes in release mode. I have looked at so many issues on StackOverflow about MAUI apps crashing in release mode, but none of the solutions suggested…
3
votes
1 answer

Why does Visual Studio for Mac try to execute .NET MAUI app using Android binary even though target device is an iOS simulator?

I've installed Visual Studio 2022 for Mac and created a .NET MAUI project. If I start debugging with the Android emulator selected, it starts as expected. If I switch to an iOS simulator instead, the build works but I get an error saying: "Can not…
Ted Nyberg
  • 7,001
  • 7
  • 41
  • 72
2
votes
0 answers

The keychain access group is not enabled

I have a .Net MAUI app. It authenticates users with MSAL. On iOS, authentication on line AuthenticationResult authResult = await _authenticationClient .AcquireTokenInteractive(B2CConstants.Scopes) …
David Shochet
  • 5,035
  • 11
  • 57
  • 105
2
votes
1 answer

MAUI: Global exception handling with error page or snack

I'm trying the new .Net MAUI to build an personnal project. At work we use Flutter and we used a global error handling to display an error page in case of API exceptions or widget rendering error (it catch everything) (like in React too) link here:…
2
votes
0 answers

Extending MAUI iOS API Bindings for iOS 16.1

I'm looking to access the Extended Dynamic Range APIs introduced in iOS 16 for the Core Animation Metal Layer, specifically the wantsExtendedDynamicRangeContent and edrMetadata attributes of the CAMetalLayer in .NET MAUI 7. Unfortunately, it appears…
Perse95
  • 121
  • 1
  • 5
1
vote
1 answer

File viewer for MAUI

When my app was in Xamarin, I used a dependency service to open pdfs and office files with PresentViewController: previewController.DataSource = new(directory, filename, filename); controller.PresentViewController(previewController, true, null); I…
John Mc
  • 212
  • 2
  • 16
1
vote
2 answers

.NET Maui IOS Debug and Release mode difference

I have a weird problem. I created a .NET MAUI app. At a point of my app, i am loading some basic old .NET assemblies that i load into a byte array before, such as; byte[] asmbinary=loadassemblybinary(); Assembly MyAssembly =…
Ender KARADAG
  • 87
  • 2
  • 11
1
vote
2 answers

.Net MAUI - Shell Navigation Back Button Title (iOS)

I have noticed one issue in Shell Navigation title. When setting ContentPage's Title property it shows same text with Back button also. Used NavigationPage.BackButtonTitle property as well from xaml still its not working. For…
Divyesh
  • 2,085
  • 20
  • 35
1
vote
0 answers

How to create Firebase Dynamic Links using Maui.iOS?

I'm using .Net Maui with firebase to create a dynamic link for iOS. The error I'm getting is this one: "Safari can not open this page because address is invalid" Safari's alert I entered the team id and created a random app store id, since the app…
1
vote
2 answers

.NET MAUI unable to debug iOS on simulator or phone

I'm new to .NET MAUI and I'm experimenting with a MAUI Blazor App. However, I'm having no luck getting it to debug on iOS. If I have my physical iPhone plugged into my windows machine or my mac on the local network, and try to debug with the local…
MIP
  • 6,416
  • 1
  • 17
  • 8
0
votes
0 answers

Is there a way to connect to a specific WiFi network in dotnet Maui?

I am creating an app which needs to connect to a device that is running a WiFi hotspot. However, to make this more user-friendly, I would like to make the app connect to the hotspot on the user's behalf. For example, when the app starts, the user…
Oli
  • 1
0
votes
1 answer

MAUI Webview won't open local page on IOS

I am trying to make my app available on IOS as well but I seem to encounter a problem with the webView implementation. I have the following page: NewsArticle.xaml
Vasile Mihai
  • 103
  • 6
1
2