ios - SWTableViewCell's RightUtilityButton how to directly display when I click the table cell -
I hope SWTableViewCell's RightUtilityButton will be displayed when I click on the table cell (drag) .
SWTableViewCell does not provide this interface
call showRightUtilityButtonsAnimated:
method. I am using example code. Change Cosiolov endindeptext
and yourCellClassName
from UMTableViewCell
- (zero) tableview: (UITableView *) table view SelectionRowAtIndexPath: (NSIndexPath *) indexPath {NSLog (@ "Cell selected index path% ld:% ld", (long) indexPath.section, (long) indexPath.row); NSLog (@ "Selected cell index path% @", [Self-televiewview indexPathfolded road]); If (TableView.isEditing!) {[Uncheck tableView currentpace: Animated Pathway: Yes]; } // If you want to hide another cell that was first opened (in the UMTableViewCell * cell [tableView visibleCells]) {[cell hideUtilityButtonsAnimated: Yes]; } UMTableViewCell * cell = (UMTableViewCell *) [Table View CellForraAttandExpath: IndexPath]; [Cell showreal utility buttons]; }
Comments
Post a Comment