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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

problems with iOS verson of Segmented Control

Thread ID:

Created:

Platform:

Replies:

140840 Nov 9,2018 05:49 PM UTC Xamarin.Forms 0
loading
Tags: SfSegmentedControl
John Strever
Asked On November 9, 2018 05:49 PM UTC

Is anyone else having problems with SfSegmentedControl on iOS?
Is there a list of known issues somewhere? I looked around but cant find that list if it exists on syncfusion's website.

I'm on latest sfSegementControl
I also tried on iOS 12.x and 10.x
SfSegmentedControl works fine on Android and on UWP, but fails in iOS in following ways

  • It's usually in a Stack Pannel inside a Grid on my pages.

My issues are
  1. The segment control does not display the back color that is set
  2. Or at times i have seen it display the Botttom feature ( but the control is super high vertically with the bottom color indicating
The control seems to work if i click on it.. but i just cant tell which one was last clicked if i click around because the selection color is not showing.

Simple example code:

XAML used
<scrollview>

       <buttons:SfSegmentedControl x:Name="Segment_UrgencyRating"    Grid.Row="0" 
                    HorizontalOptions="FillAndExpand" 
                    SelectionAnimationDuration="0"
                    SelectionChanged="UrgencyRating_SelectionChanged" 
                    VisibleSegmentsCount="5" 
                    SelectedIndex="0"                               
                    SegmentBackgroundColor="Black" 
                    CornerRadius="9" 
                    DisplayMode="Text" 
                    FontColor="White" 
                    FontSize="12" 
                    Color="Black"  
                    BorderColor="Black" />

// and then C# in the .cs file.. 

Segment_UrgencyRating.ItemsSource = new List<string> { "Low", "Medium", "High", "Alert", "Phone" };
Segment_UrgencyRating.SelectionIndicatorSettings = selectionIndicatorSettings;





CONFIRMATION

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

;