We've implemented an app for Android and iOS.
Works fine on Android, but has issues on iOS.
Seems to be XAML related.
Any suggestions would be appreciated.
Attaching screenshots & code:
<?xml version="1.0" encoding="UTF-8"?>
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
x:Class="ListDemo.MainContent" Title="My List Demo">
<ContentPage.Content>
<StackLayout>
<Label Text="My Phone Calls"></Label>
<Grid HorizontalOptions="FillAndExpand" ColumnSpacing="2">
<Grid.RowDefinitions>
<RowDefinition Height="*"></RowDefinition>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*"></ColumnDefinition>
<ColumnDefinition Width="*"></ColumnDefinition>
<ColumnDefinition Width="*"></ColumnDefinition>
</Grid.ColumnDefinitions>
<Picker Grid.Row="0" Grid.Column="0" x:Name="DateRangePicker"/>
<Picker Grid.Row="0" Grid.Column="1" x:Name="DataSourcePicker"/>
<Picker Grid.Row="0" Grid.Column="2" x:Name="CallDirPicker"/>
</Grid>
<ListView x:Name="SampleList" HasUnevenRows="true" ItemTapped="OnItemTapped">
<ListView.ItemTemplate>
<DataTemplate>
<ViewCell>
<ViewCell.View>
<Grid HorizontalOptions="FillAndExpand" ColumnSpacing="0">
<Grid.RowDefinitions>
<RowDefinition></RowDefinition>
<RowDefinition Height="2"></RowDefinition>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition></ColumnDefinition>
</Grid.ColumnDefinitions>
<Grid HorizontalOptions="FillAndExpand" Grid.Row="0" Grid.Column="0">
<Grid.RowDefinitions>
<RowDefinition Height="*"></RowDefinition>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="74"></ColumnDefinition>
<ColumnDefinition Width="*"></ColumnDefinition>
</Grid.ColumnDefinitions>
<Button x:Name="DialerButton" Grid.Row="0" Grid.Column="0" MinimumWidthRequest="72" MinimumHeightRequest="72"
HorizontalOptions="Center" VerticalOptions="Start" Image="{Binding DataSourceImagePath}"
BackgroundColor="Transparent" CommandParameter="{Binding .}" Clicked="OnDialerClicked"></Button>
<StackLayout Orientation="Vertical" Grid.Row="0" Grid.Column="1">
<Label Text="{Binding ContactName}" FontSize="25"></Label>
<Label Text="{Binding FormattedPhoneNumber}" IsVisible="{Binding PhoneNumber_IsVisible}" FontSize="16"></Label>
<StackLayout Orientation="Horizontal">
<Image Source="{Binding CallTypeImagePath}"/>
<Label Text="{Binding CallDate,StringFormat='{0:MM/dd/yyyy h:mm:ss tt}'}" FontSize="16"></Label>
</StackLayout>
</StackLayout>
</Grid>
<BoxView Color="Gray" Grid.Row="1" Grid.Column="0"></BoxView>
</Grid>
</ViewCell.View>
</ViewCell>
</DataTemplate>
</ListView.ItemTemplate>
</ListView>
</StackLayout>
</ContentPage.Content>
</ContentPage>