objective c - hitting a next button for a UITableViewcell -
I was wondering how I could know the following:
Creating a next button and when it comes to the next UITABAVE line Tapes are selected
Since a picture is equal to thousand words, I've added a screenshot.
As you can see below I added a toolbar and if I have to select this next line on the right button how can I contact it
ps I want the line to work as it has been touched (so I can take any action behind it) < / P>
Something like this should do the trick:
- (zero ) Select Next Line {NSIndexPath * selectedRow = [self.tableView indexPathForSelectedRow]; NSUnitor Row = Selected ROOW.row; NSUINTEGER section = selected road.Section; ++ row; If (line & gt; = [self.tableView numberOfRowsInSection: selectedRow.section]) {line = 0; ++ section; If (section> = [self.tableView numberOfSections]) {line = 0; Section = 0; }} NSIndexPath * rowToSelect = [Self TableView: self.tableView willSelectRowAtIndexPath: [NSIndexPath indexPathForRow: in line: Special: section]]; [Select Self.tableView: RouteAindAppet: RowToSecond Animated Select: Yes Scrollposition: UITWebScrollPoMillied]; [Self-table view: Self-Review was selected by EndwidSpace: RowToSeclect]; // if desired),
Comments
Post a Comment