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

Doc is not correct

can you please update your doc at https://help.syncfusion.com/xamarin-ios/sfrotator/populating-data
there is an error when you write
NSMutableArray<SFRotatorItem> rotatorItemCollection = new NSMutableArray<SFRotatorItem> ();
	For(int i=1;i<18;i++)
	SFRotatorItem item =new SFRotatorItem ();
item.ImageName doesn't exist!

1 Reply

SK Selva Kumar  Veerakrishnan Syncfusion Team February 18, 2019 01:04 PM UTC

Hi Alberto, 

Greetings from Syncfusion. 

Currently we are re-vamping our  User Guide(UG) documentation, we will update our UG and let you know once the changes has been reflected on live. 

Please use the below given sample in which we have used the View inside the SfRotatorItem. 

 NSMutableArray<SFRotatorItem> rotatorItemCollection = new NSMutableArray<SFRotatorItem>();
 for (int i = 1; i <= 5; i++)
      SFRotatorItem items = new SFRotatorItem();
      UIImageView uiImageView = new UIImageView();
      uiImageView.Frame = new CGRect(0, 0, this.View.Frame.Width, this.View.Frame.Height);
      uiImageView.Image = new UIImage("Images/Image" + i.ToString() + ".png");
      items.View = uiImageView;
rotator.DataSource = rotatorItemCollection;


Please have the sample from the link given below. 


Please let us know if you need any clarification on this. 

Selva Kumar V. 

Live Chat Icon For mobile
Up arrow icon