we are migrating an app from XAMARIN to MAUI.
We have this XAML here:
<OnPlatform x:TypeArguments="View">
<OnPlatform:ios>
<StackLayout BackgroundColor="{DynamicResource StandardColor}" Padding="15,5,15,3" Orientation="Horizontal" IsVisible="{Binding Modal}">
<Button Text="Annulla" FontSize="Small" TextColor="White" FontAttributes="Bold" BackgroundColor="Transparent" HorizontalOptions="Start" Command="{prism:GoBack UseModalNavigation=True}"/>
<Label Text="Comunicazione" TextColor="White" FontAttributes="Bold" HorizontalOptions="CenterAndExpand" VerticalOptions="CenterAndExpand"/>
<Button Text="Salva" TextColor="White" FontAttributes="Bold" BackgroundColor="Transparent" HorizontalOptions="End" Command="{Binding SalvaComunicazioneCommand}"/>
<Button Text="Rimuovi" TextColor="White" FontAttributes="Bold" BackgroundColor="Transparent" HorizontalOptions="End" Command="{Binding RimuoviComunicazioneCommand}"/>
</StackLayout>
</OnPlatform:ios>
<OnPlatform.Android>
<StackLayout>
</StackLayout>
</OnPlatform.Android>
Visual studio does not recognize the OnPlatform:ios or OnPlatform.Android how can we now edit that xaml to have fixed? thanks