title: When i select item from Listview to open child page, nothing is happens in IPhone. every things work proper in android device
body: <p>When i select any item from listview, child page should be open. listview onselecteditem event is fired, but child page not opened.</p>
  
  <p>I am using 
  Xamarin Form Version : 3.3.0.967583
  Visual Studio 2017  </p>
  
  <p><strong>Here is My XAML Page Code Where My ListView is Binding</strong>
  
              
                  
                      
                      </p>
  
  <pre><code>                    &lt;ListView.ItemTemplate&gt;
                          &lt;DataTemplate&gt;
                              &lt;ViewCell&gt;
                                  &lt;Grid Padding="8, 10 ,8, 5" BackgroundColor="#FFFFFF" HeightRequest="45" Margin="80, 0, 80, 0"&gt;
                                      &lt;Grid.RowDefinitions&gt;
                                          &lt;RowDefinition Height="*" /&gt;
                                      &lt;/Grid.RowDefinitions&gt;
                                      &lt;Grid.ColumnDefinitions&gt;
                                          &lt;ColumnDefinition Width="40" /&gt;
                                          &lt;ColumnDefinition Width="*" /&gt;
                                          &lt;ColumnDefinition Width="50" /&gt;
                                      &lt;/Grid.ColumnDefinitions&gt;
                                      &lt;RelativeLayout Grid.Row="0" Grid.Column="0" HeightRequest="40" WidthRequest="40"&gt;
                                          &lt;AbsoluteLayout HeightRequest="40" WidthRequest="40"&gt;
                                              &lt;Frame CornerRadius="{OnPlatform Android='40', iOS='20'}" BackgroundColor="#A9A9A9" HasShadow="False" OutlineColor="Transparent" BorderColor="Transparent" HeightRequest="40" WidthRequest="40" Padding="0" Margin="0" AbsoluteLayout.LayoutBounds="0, 0, 1, 1" AbsoluteLayout.LayoutFlags="All"&gt;
                                                  &lt;Frame CornerRadius="{OnPlatform Android='40', iOS='20'}" BackgroundColor="#A9A9A9" HasShadow="False" OutlineColor="Transparent" BorderColor="Transparent" HeightRequest="40" WidthRequest="40" Padding="0" Margin="0"&gt;
                                                      &lt;Image Source="Profile.png" Aspect="Fill" VerticalOptions="Center" HorizontalOptions="Center" BackgroundColor="Transparent" HeightRequest="40" WidthRequest="40" Margin="-1, -1, -1, -1"&gt;&lt;/Image&gt;
                                                  &lt;/Frame&gt;
                                              &lt;/Frame&gt;
                                          &lt;/AbsoluteLayout&gt;
                                          &lt;AbsoluteLayout HeightRequest="39" WidthRequest="39"&gt;
                                              &lt;Label Text="&amp;#xf111;" FontSize="10" TextColor="{Binding IsOnline}" 
                                              AbsoluteLayout.LayoutFlags="All"
                                              AbsoluteLayout.LayoutBounds="1, 1, 10, 10"
                                              VerticalOptions="End" HorizontalOptions="End" &gt;
                                                  &lt;Label.FontFamily&gt;
                                                      &lt;OnPlatform x:TypeArguments="x:String"
                                                      Android="Font Awesome 5 Free-Solid-900.otf#Font Awesome 5 Free Solid" 
                                                      iOS="FontAwesome5FreeSolid" /&gt;
                                                  &lt;/Label.FontFamily&gt;
                                              &lt;/Label&gt;
                                          &lt;/AbsoluteLayout&gt;
                                      &lt;/RelativeLayout&gt;
                                      &lt;StackLayout Grid.Row="0" Grid.Column="1" VerticalOptions="CenterAndExpand" HeightRequest="30" Padding="2, 0, 0, 5"&gt;
                                          &lt;Label x:Name="UserName" Text="{Binding UserName}" FontSize="14" x:Uid="{Binding RoomName}" HorizontalOptions="Start" FontAttributes="Bold" TextColor="#000000" LineHeight="0" MaxLines="1" Margin="{OnPlatform Android='0, -3, 0, 0', iOS='0, -3, 0, 0'}" LineBreakMode="TailTruncation" HeightRequest="18" /&gt;
                                          &lt;Label Text="{Binding RequestStatus}" FontSize="12" HorizontalOptions="Start"  VerticalOptions="Start" TextColor="{StaticResource lightGray}" LineHeight="0" MaxLines="1" Margin="{OnPlatform Android='0, -5, 0, 0', iOS='0, -5, 0, 0'}" LineBreakMode="TailTruncation" HeightRequest="18" /&gt;
                                      &lt;/StackLayout&gt;
                                      &lt;StackLayout Grid.Row="0" Grid.Column="2" VerticalOptions="Start" HorizontalOptions="End"&gt;
                                          &lt;Label FontSize="10" HorizontalOptions="End" TextColor="{Binding IsOnline}" Text="{Binding MessageTime}" LineHeight="1" Margin="{OnPlatform Android='0, 2, 0, 0', iOS='0, 0, 0, 0'}" /&gt;
                                          &lt;Grid Padding="0" Margin="0"&gt;
                                              &lt;Grid.RowDefinitions&gt;
                                                  &lt;RowDefinition Height="30" /&gt;
                                              &lt;/Grid.RowDefinitions&gt;
                                              &lt;Grid.ColumnDefinitions&gt;
                                                  &lt;ColumnDefinition Width="50" /&gt;
                                              &lt;/Grid.ColumnDefinitions&gt;
                                              &lt;Label Grid.Row="0" Grid.Column="0" Text="&amp;#xf27a;" IsVisible="{Binding IsAcceptDisplay}" FontSize="14"
                                                      TextColor="#2FB26C" HeightRequest="30" VerticalOptions="Center" WidthRequest="30" HorizontalOptions="End" HorizontalTextAlignment="End"&gt;
                                                  &lt;Label.FontFamily&gt;
                                                      &lt;OnPlatform x:TypeArguments="x:String"
                                                      Android="Font Awesome 5 Free-Solid-900.otf#Font Awesome 5 Free Solid" 
                                                      iOS="FontAwesome5FreeSolid" /&gt;
                                                  &lt;/Label.FontFamily&gt;
                                              &lt;/Label&gt;
                                              &lt;StackLayout Grid.Row="0" Grid.Column="0" IsVisible="{Binding IsPendingMessageCount}" HorizontalOptions="End" Margin="14, 0, 0, 0"&gt;
                                                  &lt;Frame VerticalOptions="Center" HorizontalOptions="End" WidthRequest="16" MinimumWidthRequest="16" HeightRequest="{OnPlatform Android='16', iOS='15'}" 
                                                         OutlineColor="#2FB26C" BackgroundColor="#2FB26C" CornerRadius="{OnPlatform Android='20', iOS='8'}" 
                                                         Margin="0, 0, 0, 0" Padding="{OnPlatform Android='0', iOS='0, 1, 0, 0'}" HasShadow="False"&gt;
                                                      &lt;Label Text="{Binding PendingMessageCount}" FontSize="{OnPlatform Android='8', iOS='7'}" FontAttributes="Bold" VerticalOptions="CenterAndExpand" VerticalTextAlignment="Center"
                                                      TextColor="#FFFFFF" HorizontalOptions="Center" HorizontalTextAlignment="Center" HeightRequest="16" LineHeight="0.8"&gt;&lt;/Label&gt;
                                                  &lt;/Frame&gt;
                                              &lt;/StackLayout&gt;
                                          &lt;/Grid&gt;
                                      &lt;/StackLayout&gt;
                                  &lt;/Grid&gt;
                              &lt;/ViewCell&gt;
                          &lt;/DataTemplate&gt;
                      &lt;/ListView.ItemTemplate&gt;
                      &lt;ListView.Footer&gt;
                          &lt;StackLayout Orientation="Horizontal"&gt;&lt;/StackLayout&gt;
                      &lt;/ListView.Footer&gt;
                  &lt;/ListView&gt;
              &lt;/StackLayout&gt;
          &lt;/AbsoluteLayout&gt;
      &lt;/StackLayout&gt;
  </code></pre>
  
  <p><strong>Below Is XAML.CS page Where I have managed OnItemSelected event</strong></p>
  
  <pre><code> async void OnItemSelected(object sender, SelectedItemChangedEventArgs args)
      {
          try
          {
               var item = args.SelectedItem as User;
  
              if (item == null)
                  return;
  
              App.chatBoxPage = null;
              App.chatBoxPage = new ChatBoxPage(new ChatViewModel(item));
              await Navigation.PushAsync(App.chatBoxPage);
              ChatList.SelectedItem = null;
  
          }
          catch (Exception e)
          {
              await DisplayAlert("Live Chat", "On Clicked  : " + e.ToString(), "OK");
          }
      }
  </code></pre>
  
  <p><strong>Sometime below exception raised</strong></p>
  
  <pre><code> System.NullReferenceException: Object reference not set to an instance of an object
    at Xamarin.Forms.VisualElement.get_BackgroundColor () &lt;0x10178c450 + 0x00028&gt; in &lt;81ae0eb290e24f558e192928e3e37a57#40b0903c179c66f2f42ecc37469bd36a&gt;:0 
    at Xamarin.Forms.Platform.iOS.VisualElementRenderer`1[TElement].SetElement (TElement element) &lt;0x1018a4620 + 0x000a3&gt; in &lt;85a5f025a15045539371e93897914a5b#40b0903c179c66f2f42ecc37469bd36a&gt;:0 
    at Xamarin.Forms.Platform.iOS.VisualElementRenderer`1[TElement].Xamarin.Forms.Platform.iOS.IVisualElementRenderer.SetElement (Xamarin.Forms.VisualElement element) &lt;0x1018a4020 + 0x0003f&gt; in &lt;85a5f025a15045539371e93897914a5b#40b0903c179c66f2f42ecc37469bd36a&gt;:0 
    at Xamarin.Forms.Platform.iOS.Platform.CreateRenderer (Xamarin.Forms.VisualElement element) &lt;0x10189cd70 + 0x0007b&gt; in &lt;85a5f025a15045539371e93897914a5b#40b0903c179c66f2f42ecc37469bd36a&gt;:0 
    at Xamarin.Forms.Platform.iOS.VisualElementPackager.OnChildAdded (Xamarin.Forms.VisualElement view) &lt;0x1018a2a70 + 0x000af&gt; in &lt;85a5f025a15045539371e93897914a5b#40b0903c179c66f2f42ecc37469bd36a&gt;:0 
    at Xamarin.Forms.Platform.iOS.VisualElementPackager.Load () &lt;0x1018a26e0 + 0x000ab&gt; in &lt;85a5f025a15045539371e93897914a5b#40b0903c179c66f2f42ecc37469bd36a&gt;:0 
    at Xamarin.Forms.Platform.iOS.VisualElementRenderer`1[TElement].SetElement (TElement element) &lt;0x1018a4620 + 0x003c7&gt; in &lt;85a5f025a15045539371e93897914a5b#40b0903c179c66f2f42ecc37469bd36a&gt;:0 
    at Xamarin.Forms.Platform.iOS.VisualElementRenderer`1[TElement].Xamarin.Forms.Platform.iOS.IVisualElementRenderer.SetElement (Xamarin.Forms.VisualElement element) &lt;0x1018a4020 + 0x0003f&gt; in &lt;85a5f025a15045539371e93897914a5b#40b0903c179c66f2f42ecc37469bd36a&gt;:0 
    at Xamarin.Forms.Platform.iOS.Platform.CreateRenderer (Xamarin.Forms.VisualElement element) &lt;0x10189cd70 + 0x0007b&gt; in &lt;85a5f025a15045539371e93897914a5b#40b0903c179c66f2f42ecc37469bd36a&gt;:0 
    at Xamarin.Forms.Platform.iOS.ListViewRenderer+UnevenListViewDataSource.CalculateHeightForCell (UIKit.UITableView tableView, Xamarin.Forms.Cell cell) &lt;0x1018f0fe0 + 0x000b7&gt; in &lt;85a5f025a15045539371e93897914a5b#40b0903c179c66f2f42ecc37469bd36a&gt;:0 
    at Xamarin.Forms.Platform.iOS.ListViewRenderer+UnevenListViewDataSource.GetEstimatedRowHeight (UIKit.UITableView table) &lt;0x1018f0af0 + 0x0021b&gt; in &lt;85a5f025a15045539371e93897914a5b#40b0903c179c66f2f42ecc37469bd36a&gt;:0 
    at Xamarin.Forms.Platform.iOS.ListViewRenderer.UpdateEstimatedRowHeight () &lt;0x1018c0970 + 0x0010f&gt; in &lt;85a5f025a15045539371e93897914a5b#40b0903c179c66f2f42ecc37469bd36a&gt;:0 
    at Xamarin.Forms.Platform.iOS.ListViewRenderer.OnElementChanged (Xamarin.Forms.Platform.iOS.ElementChangedEventArgs`1[TElement] e) &lt;0x1018bf1a0 + 0x00b3b&gt; in &lt;85a5f025a15045539371e93897914a5b#40b0903c179c66f2f42ecc37469bd36a&gt;:0 
    at Xamarin.Forms.Platform.iOS.VisualElementRenderer`1[TElement].SetElement (TElement element) &lt;0x1018a4620 + 0x004cb&gt; in &lt;85a5f025a15045539371e93897914a5b#40b0903c179c66f2f42ecc37469bd36a&gt;:0 
    at Xamarin.Forms.Platform.iOS.VisualElementRenderer`1[TElement].Xamarin.Forms.Platform.iOS.IVisualElementRenderer.SetElement (Xamarin.Forms.VisualElement element) &lt;0x1018a4020 + 0x0003f&gt; in &lt;85a5f025a15045539371e93897914a5b#40b0903c179c66f2f42ecc37469bd36a&gt;:0 
    at Xamarin.Forms.Platform.iOS.Platform.CreateRenderer (Xamarin.Forms.VisualElement element) &lt;0x10189cd70 + 0x0007b&gt; in &lt;85a5f025a15045539371e93897914a5b#40b0903c179c66f2f42ecc37469bd36a&gt;:0 
    at Xamarin.Forms.Platform.iOS.VisualElementPackager.OnChildAdded (Xamarin.Forms.VisualElement view) &lt;0x1018a2a70 + 0x000af&gt; in &lt;85a5f025a15045539371e93897914a5b#40b0903c179c66f2f42ecc37469bd36a&gt;:0 
    at Xamarin.Forms.Platform.iOS.VisualElementPackager.Load () &lt;0x1018a26e0 + 0x000ab&gt; in &lt;85a5f025a15045539371e93897914a5b#40b0903c179c66f2f42ecc37469bd36a&gt;:0 
    at Xamarin.Forms.Platform.iOS.VisualElementRenderer`1[TElement].SetElement (TElement element) &lt;0x1018a4620 + 0x003c7&gt; in &lt;85a5f025a15045539371e93897914a5b#40b0903c179c66f2f42ecc37469bd36a&gt;:0 
    at Xamarin.Forms.Platform.iOS.VisualElementRenderer`1[TElement].Xamarin.Forms.Platform.iOS.IVisualElementRenderer.SetElement (Xamarin.Forms.VisualElement element) &lt;0x1018a4020 + 0x0003f&gt; in &lt;85a5f025a15045539371e93897914a5b#40b0903c179c66f2f42ecc37469bd36a&gt;:0 
    at Xamarin.Forms.Platform.iOS.Platform.CreateRenderer (Xamarin.Forms.VisualElement element) &lt;0x10189cd70 + 0x0007b&gt; in &lt;85a5f025a15045539371e93897914a5b#40b0903c179c66f2f42ecc37469bd36a&gt;:0 
    at Xamarin.Forms.Platform.iOS.VisualElementPackager.OnChildAdded (Xamarin.Forms.VisualElement view) &lt;0x1018a2a70 + 0x000af&gt; in &lt;85a5f025a15045539371e93897914a5b#40b0903c179c66f2f42ecc37469bd36a&gt;:0 
    at Xamarin.Forms.Platform.iOS.VisualElementPackager.Load () &lt;0x1018a26e0 + 0x000ab&gt; in &lt;85a5f025a15045539371e93897914a5b#40b0903c179c66f2f42ecc37469bd36a&gt;:0 
    at Xamarin.Forms.Platform.iOS.VisualElementRenderer`1[TElement].SetElement (TElement element) &lt;0x1018a4620 + 0x003c7&gt; in &lt;85a5f025a15045539371e93897914a5b#40b0903c179c66f2f42ecc37469bd36a&gt;:0 
    at Xamarin.Forms.Platform.iOS.VisualElementRenderer`1[TElement].Xamarin.Forms.Platform.iOS.IVisualElementRenderer.SetElement (Xamarin.Forms.VisualElement element) &lt;0x1018a4020 + 0x0003f&gt; in &lt;85a5f025a15045539371e93897914a5b#40b0903c179c66f2f42ecc37469bd36a&gt;:0 
    at Xamarin.Forms.Platform.iOS.Platform.CreateRenderer (Xamarin.Forms.VisualElement element) &lt;0x10189cd70 + 0x0007b&gt; in &lt;85a5f025a15045539371e93897914a5b#40b0903c179c66f2f42ecc37469bd36a&gt;:0 
    at Xamarin.Forms.Platform.iOS.VisualElementPackager.OnChildAdded (Xamarin.Forms.VisualElement view) &lt;0x1018a2a70 + 0x000af&gt; in &lt;85a5f025a15045539371e93897914a5b#40b0903c179c66f2f42ecc37469bd36a&gt;:0 
    at Xamarin.Forms.Platform.iOS.VisualElementPackager.Load () &lt;0x1018a26e0 + 0x000ab&gt; in &lt;85a5f025a15045539371e93897914a5b#40b0903c179c66f2f42ecc37469bd36a&gt;:0 
    at Xamarin.Forms.Platform.iOS.VisualElementRenderer`1[TElement].SetElement (TElement element) &lt;0x1018a4620 + 0x003c7&gt; in &lt;85a5f025a15045539371e93897914a5b#40b0903c179c66f2f42ecc37469bd36a&gt;:0 
    at Xamarin.Forms.Platform.iOS.VisualElementRenderer`1[TElement].Xamarin.Forms.Platform.iOS.IVisualElementRenderer.SetElement (Xamarin.Forms.VisualElement element) &lt;0x1018a4020 + 0x0003f&gt; in &lt;85a5f025a15045539371e93897914a5b#40b0903c179c66f2f42ecc37469bd36a&gt;:0 
    at Xamarin.Forms.Platform.iOS.Platform.CreateRenderer (Xamarin.Forms.VisualElement element) &lt;0x10189cd70 + 0x0007b&gt; in &lt;85a5f025a15045539371e93897914a5b#40b0903c179c66f2f42ecc37469bd36a&gt;:0 
    at Xamarin.Forms.Platform.iOS.VisualElementPackager.OnChildAdded (Xamarin.Forms.VisualElement view) &lt;0x1018a2a70 + 0x000af&gt; in &lt;85a5f025a15045539371e93897914a5b#40b0903c179c66f2f42ecc37469bd36a&gt;:0 
    at Xamarin.Forms.Platform.iOS.VisualElementPackager.Load () &lt;0x1018a26e0 + 0x000ab&gt; in &lt;85a5f025a15045539371e93897914a5b#40b0903c179c66f2f42ecc37469bd36a&gt;:0 
   at Xamarin.Forms.Platform.iOS.PageRenderer.ViewDidLoad () &lt;0x1018c9b80 + 0x0034f&gt; in &lt;85a5f025a15045539371e93897914a5b#40b0903c179c66f2f42ecc37469bd36a&gt;:0 
    at PSS_LiveChat.iOS.IosKeyboardFixPageRenderer.ViewDidLoad () &lt;0x10089e900 + 0x0001b&gt; in &lt;39287061e96f454f92c45a96e90470c1#40b0903c179c66f2f42ecc37469bd36a&gt;:0 
    at (wrapper managed-to-native) ObjCRuntime.Messaging.objc_msgSendSuper(intptr,intptr)
    at UIKit.UIViewController.get_View () &lt;0x10149e8c0 + 0x0006f&gt; in &lt;bbd12705940f4bb29392519af87b535b#40b0903c179c66f2f42ecc37469bd36a&gt;:0 
    at Xamarin.Forms.Platform.iOS.PageRenderer.get_NativeView () &lt;0x1018c9630 + 0x00023&gt; in &lt;85a5f025a15045539371e93897914a5b#40b0903c179c66f2f42ecc37469bd36a&gt;:0 
    at Xamarin.Forms.Platform.iOS.PageRenderer.SetElement (Xamarin.Forms.VisualElement element) &lt;0x1018c9670 + 0x000ef&gt; in &lt;85a5f025a15045539371e93897914a5b#40b0903c179c66f2f42ecc37469bd36a&gt;:0 
    at Xamarin.Forms.Platform.iOS.Platform.CreateRenderer (Xamarin.Forms.VisualElement element) &lt;0x10189cd70 + 0x0007b&gt; in&lt;85a5f025a15045539371e93897914a5b#40b0903c179c66f2f42ecc37469bd36a&gt;:0 
    at Xamarin.Forms.Platform.iOS.NavigationRenderer.CreateViewControllerForPage (Xamarin.Forms.Page page) &lt;0x1018c5e10 + 0x00027&gt; in &lt;85a5f025a15045539371e93897914a5b#40b0903c179c66f2f42ecc37469bd36a&gt;:0 
    at Xamarin.Forms.Platform.iOS.NavigationRenderer+&lt;OnPushAsync&gt;d__51.MoveNext () &lt;0x1018f95a0 + 0x0007b&gt; in &lt;85a5f025a15045539371e93897914a5b#40b0903c179c66f2f42ecc37469bd36a&gt;:0 
  --- End of stack trace from previous location where exception was thrown ---
    at Xamarin.Forms.NavigationPage+&lt;PushAsyncInner&gt;d__84.MoveNext () &lt;0x10174c7f0 + 0x0023f&gt; in &lt;81ae0eb290e24f558e192928e3e37a57#40b0903c179c66f2f42ecc37469bd36a&gt;:0 
  --- End of stack trace from previous location where exception was thrown ---
    at Xamarin.Forms.NavigationPage+&lt;PushAsync&gt;d__55.MoveNext () &lt;0x10174b730 + 0x00523&gt; in &lt;81ae0eb290e24f558e192928e3e37a57#40b0903c179c66f2f42ecc37469bd36a&gt;:0 
  --- End of stack trace from previous location where exception was thrown ---
    at PSS_LiveChat.Views.LiveChatPage+&lt;OnItemSelected&gt;d__5.MoveNext () &lt;0x100cfb210 + 0x0040f&gt; in &lt;3b5956d19f5f4bdc84324069625851ef#40b0903c179c66f2f42ecc37469bd36a&gt;:
  </code></pre>