"1" cancels the cell underline in TableView
Whether it is the original cell or the developer's custom cell, the table is underlined by default, canceling the cell's own underline
[Self.tableview Setseparatorstyle:uitableviewcellseparatorstylenone];
In general, the above code can be done, but I use the above code in the development process is still underlined, but also add a sentence
Set the underline color to be transparent, done
[Self.tableview Setseparatorcolor:[uicolor Clearcolor];
"2" Realization Click TableView Hide Keyboard
Add gestures to the UITableView.
UITapGestureRecognizer *gesturerecognizer = [[UITapGestureRecognizer alloc] initwithtarget:self action: @selector ( Hidekeyboard)];
Add gestures for TableView
[Self.tableview Addgesturerecognizer:gesturerecognizer];
Hide method is called when TableView is clicked
{
[Self.view Endediting:yes];
}
Related Operations for Ios_tableview