Content
How can I use WeakReferenceMessenger instead of MessagingCenter in my iOS project?
I get the following message when I use MessagingCenter in my .NET 7.0 iOS project: [deprecated] class Microsoft.Maui.Controls.MessagingCenter Associates a callback on subscribers with a specific message name. CS0618: 'MessagingCenter' is obsolete: 'We…


Net Maui How to show or hide ( collapsed ) content in stacklayout or grid ?
<StackLayout ZIndex="1" x:Name="Page" IsVisible="true" ></StackLayout> <StackLayout x:Name="Page2" IsVisible="false" ></StackLayout>


Loop through Controls in ScrollView and Get the Data
Hi, In below XAML: <ScrollView x:Name="ScrollViewDetails" Grid.Row="1"> <VerticalStackLayout> <VerticalStackLayout x:Name="StackLayoutPhones"> <BindableLayout.ItemTemplate> …


Empty listview items after down and up scrolling
Hi, iOS app, MVVM pardigm, I populate an ObservableCollection of a custom type and through BindingContext populate a ListView on the Page. that works fine. I can see the ListView items properly and can scroll it. What I constantly see is when I scroll…


Intent Filter / DeepLink .Net MAUI
I want to implement an application that will be viewable in my application using Intent Filter. I added in the MainActivity.cs file Filter Intent [IntentFilter(new[] { Intent.ActionView }, Categories = new[] { Intent.ActionView, Intent.CategoryDefault,…


MauiSplash to fill the screen
Hi, Using: <ItemGroup> <MauiSplashScreen Include="Resources\Splash\splashscreen.svg" /> </ItemGroup> How can I make the splash image to fill the screen vertically and horizontally? Thanks, Jassim


Java.Lang.IllegalArgumentException Message=No view found for id 0x2 (unknown) for fragment ShellItemRenderer{8ff985} (8d59f552-5e3e-48c3-a91e-e50041b57719 id=0x2)
I am using Version VS 17.5.0 Preview 2.017.5.0 Preview 2.0. In this when I debug it with my mobile it gives me error Java.Lang.IllegalArgumentException Message=No view found for id 0x2 (unknown) for fragment ShellItemRenderer{8ff985}…


Net Maui when I clicked ( 3 times ) the button multiple page ( 3 times ) comes that has to be only one page..
Net Maui when I clicked ( 3 times ) the button multiple page ( 3 times ) comes that has to be only one page.. any solution ? Thanks
Shell Navigation and using a Dictionary to pass values.
I am trying to learn how to pass complex data types to a page using a Dictionary. As you can see in the example code below that Name was hardcoded, but I was wondering what is the best practice if I wanted to dynamically set the Name property in the view…


Check if two frames are overlapping in .net maui
is it possible to detect it when two frames are overlapping (even when they don't have the same parent)? I need it for my .net maui project (A game in .net maui) this is how I have the hitboxes and players set up (the Frames will get added into…


Attempting to create a slider that monitors / changes the position of a video.
I am wondering just how I can accomplish the above. I have an event which gets called as the video plays and provides the position of the video being played. I can bind the Ticks of the postion to the slider with no problem. The problem is that when…


Display mauiasset PDF in webview ERR_ACCESS_DENIED.
I have a VS2022 dotnet prog which runs on IOS and Android Simple requirement - Open mauiAsset pdf file and display it in webview. 1 page no manipulation simple Now I know Webview CAN display PDF - I can load it with a pdf on a webserver. How do I open…


APT2144 invalid file path
VS 2022 Preview... Trying to build and run "Notes" tutorial getting 2 APT2144 invalid file path error in file Xamarin.Android.Aapt2.targets. Error message gives a file path, which I can find using File Explorer. Help on error message says it…


How to use MauiHotReloadHelper
I created a MAUI project with MainPage without Xaml code public class MainPage : ContentPage { public MainPage() { Content = new Label { Text = "Hello world!" }; } } I want to use Hot Reload from VSCode. For this I use Clancey's…


using FileSystem.OpenAppPackageFileAsyn to open and play mp3 files stored on Google Drive
Hi I am using VS 2022 and C# to develop a MAUI App which needs to be deployed for IOS/Android and Windows. I would like to play audio files that are stored on Google Drive using audioPlayer. Can I use FileSystem.OpenAppPackageFileAsyn to open the file,…


What is the MAUI equivalent of .NET Core's `_Layout.cshtml`?
You see, there's this image which needs to show up on every page of my MAUI app, and if it were a .NET Core app, I'd simply add it in _Layout.cshtml. However, with MAUI, I don't see a way of doing that easily. How would I go about this?


Why does MAUI iOS not build with scaling factors in the project file?
Since the last upgrade of VS, the MAUI iOS project can't build if the second group of splash image scaling factors are present, e.g. ""Resources\Splash$placeholder$.scale-xxx", in the project file. VS version and extensions in use…


Failed to compile third-party dynamic libraries using AOT in the MAUI(Andriod) project?
Create a MAUI APP project with VS2022(Version 17.4.4) install TencentCloud.dll from nuget; direct publish project, it takes very long,long time; about three hours. finally compiler…
Connect programmatically to a wifi network
Hi, I'd to know how can I connect do a wifi network with hide ssid programmatically? Thanks. Renan Paiva


How to configure Auto update in MAUI application ?
Hi, Consider we have developed a MAUI application, for deployment of this MAUI application in multiple machine we created a setup file / package following this link -…

