I am working on a UITableView
. Please tell me how to remove the arrow button displayed in the each and every row?
In your -tableView:cellForRowAtIndexPath:
, set the accessoryType
property of your UITableViewCell to UITableViewCellAccessoryNone, which is the default FYI.
If you are using the interface builder just select your cell and set the accessory
to none
.
//Write following code into your program
-(UITableViewCellAccessoryType)tableView:(UITableView *)tv accessoryTypeForRowWithIndexPath (NSIndexPath *)indexPath {
return UITableViewCellAccessoryNone;
}
//Create a table for different section of app
-(UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
cell.accessoryType = UITableViewCellAccessoryNone;
}
// VKJ
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With