I use VS on Windows and VS for MAC on the MAC for writing my Xamarin forms project.
Everything was working fine until the VS for MAC IDE told me there was a bunch of updates which I installed and they seem to have broken the styles on iOS.
XAML Code
<ContentPage.Content>
<StackLayout>
<Button Text="Logout" Clicked="Logout_Clicked" Style="{StaticResource DeleteButton}" />
<Button Text="Test" Clicked="Logout_Clicked" BackgroundColor="Black" TextColor="White" />
<Button Text="Login" Clicked="Login_Clicked" Style="{DynamicResource DefaultButton}" />
</StackLayout>
</ContentPage.Content>
The resulting images on both simulators are attached.
These are the 2 styles that are set in the Resource Dictionary of the App.xaml file
<Style x:Key="DefaultButton" TargetType="Button">
<Setter Property="HorizontalOptions" Value="FillAndExpand" />
<Setter Property="VerticalOptions" Value="FillAndExpand" />
<Setter Property="TextColor" Value="White" />
<Setter Property="BackgroundColor" Value="Black" />
</Style>
<Style x:Key="DeleteButton" TargetType="Button">
<Setter Property="HorizontalOptions" Value="FillAndExpand" />
<Setter Property="VerticalOptions" Value="FillAndExpand" />
<Setter Property="TextColor" Value="White" />
<Setter Property="BackgroundColor" Value="Red" />
</Style>
Anyone encountered this and know how to work around it?
My Mac is running Sierra 10.13.4 and the IDE version is 7.5.1 (build 22)