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
close icon

SfRating Issues on iOS

Hello, 

I am having some issues with the SfRating control in iOS. I have attached a screenshot of the same project in both iOS simulator and Android emulator. I can click and select the ratings on android but it doesn't let me select it on iOS. Nothing happens when I tab on it. Also, the controls do not align properly in stack layout. The xaml code for the control is below. Please advice how I can resolve this.

Thanks,
Pawan

  <StackLayout HorizontalOptions="CenterAndExpand" >
        <rating:SfRating  x:Name="rating"
                         Value="{Binding UserRating}"
                         ItemSpacing="20"
                         ItemCount="5"
                          ItemSize="20"/>
        </StackLayout> 

Attachment: sfRatingIssue_82bc9229.zip

5 Replies

PK Pavendhan Kumar Syncfusion Team October 24, 2016 12:18 PM UTC

Hi Pawan,

Query : How align Rating control properly in iOS platform.

You can align Rating control to center by providing suitable height and width request to it. We have created a sample as per your scenario and recorded a video too. Please download the both from the following link.

Link: http://www.syncfusion.com/downloads/support/forum/127035/ze/Rating-172505582 

Please let us know the given sample meets your requirement if not please create a support incident and update us with more details.

Regards,
Pavendhan K. 



PJ Pawan Jindal October 24, 2016 01:07 PM UTC

Hi Pavendhan,

The issue is resolved by making the changes below. Thanks so much for the quick response. I really appreciate it.

Best,
Pawan


PK Pavendhan Kumar Syncfusion Team October 25, 2016 12:29 PM UTC

 Hi Pawan,

Thank you for your update. We are happy to hear that the issue has been resolved at your end. Please feel free to contact us we are happy to assist you.

Regards,
Pavendhan K. 



HV Hiren Vyas August 25, 2017 10:55 AM UTC

Hello ,

How add custom image in rating system for xamarin forms. Please help me



RK Rathana Kumar Sekar Syncfusion Team August 28, 2017 08:20 AM UTC

Hi Hiren,

Thanks for contacting Syncfusion Support.

We have attached the sample which we have implemented the custom view for SfRating. Please find the sample from the below link.

Sample: http://www.syncfusion.com/downloads/support/forum/127035/ze/RatingCustomview-1737275737 
  
Also you can refer from our UG documentation

https://help.syncfusion.com/xamarin/sfrating/add-custom-items

Please let us know if you have any other query.

Regards,
Rathanakumar S. 


Loader.
Live Chat Icon For mobile
Up arrow icon