We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Segmented control in image-mode, does not respond when clicked on iOS

Thread ID:





142291 Jan 25,2019 07:41 AM UTC Jan 28,2019 12:30 PM UTC Xamarin.Forms 1
Tags: SfSegmentedControl
Kyri Demetriou
Asked On January 25, 2019 07:41 AM UTC


I found an issue with the segmented control.

The Segmented control does not respond when clicked, when displaying as Image

To illustrate this problem, I have attached a sample solution. Please review

Attachment: SyncFusionDemo1_8af932d3.zip

Dhanasekar R [Syncfusion]
Replied On January 28, 2019 12:30 PM UTC

Hi Kyri, 
We have validated the reported issue "SelectedIndex is not getting updated when using custom view in SfSegmentedControl" in iOS. We have confirmed this as defect and created the bug report for the same. The fix will be available in our upcoming 2019 Volume 1 release which is expected to be rolled out by the mid of March 2019. 
We have prepared the workaround for achieving your requirement by updating the selected index through tap gesture event for the image. Please have the sample with the code snippet in the below link. 
  for (int i = 0; i < ThreatOptions.Count;i++)
     Image imageView = ThreatOptions[i];
     var tapGestureRecognizer = new TapGestureRecognizer();
     tapGestureRecognizer.Tapped += (sender, e) =>
        ThreatOptionIndex = ThreatOptions.IndexOf(sender as Image);


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon