mercredi 24 juin 2015

How to round the table view cells in ios

i want to round table-list cells either bottom or top side but not both sides can anybody please help me with example code and i have done like below but it round the both side edges but i want round only one side according to requirement(either top or bottom)

 [cell.layer setCornerRadius:7.0f];
  [cell.layer setMasksToBounds:YES];
  [cell.layer setBorderWidth:2.0f];

This above code rounds both sides cells edges but i want round at one side edge please help me somebody

See more ..

Aucun commentaire:

Enregistrer un commentaire