// Create a new UILabel UILabel label = new UILabel(); label.Text = "This is a label"; label.Frame = new CGRect(10, 10, 100, 30); // Add the UILabel as a subview to the cell's content view cell.ContentView.AddSubview(label);
// Create a new UIImageView UIImageView imageView = new UIImageView(new UIImage("image_name")); // Add the UIImageView as a subview to the cell's content view cell.ContentView.AddSubview(imageView);Both examples use the iOS package library.