I need to add the following code to the TableView initialization and drawing cell proxy:
Initialize add
Self.tableview_chose =[[UITableView alloc] init];
if ([Self.tableview_chose respondstoselector: @selector (setseparatorinset:)]) {
[Self.tableview_chose Setseparatorinset:uiedgeinsetszero];
}
if ([Self.tableview_chose respondstoselector: @selector (setlayoutmargins:)]) {
[Self.tableview_chose Setlayoutmargins:uiedgeinsetszero];
}
Draw Table Proxy Add
-(void) TableView: (UITableView *) TableView Willdisplaycell: (UITableViewCell *) cell Forrowatindexpath: (Nsindexpath *) indexpath{
if ([Cell respondstoselector: @selector (setseparatorinset:)]) {
[Cell Setseparatorinset:uiedgeinsetszero];
}
if ([Cell respondstoselector: @selector (setlayoutmargins:)]) {
[Cell Setlayoutmargins:uiedgeinsetszero];
}
}
IOS Tableviewcell Horizontal line left to its