I have a very strange problem, I don’t know if this is inconvenient for the normal behavior of the cells or not, it seems that it is! Therefore, I give it to someone who can answer, apologize if any thing is stupid in the matter of this question. Usually, when we touch a table cell, what happens is what happens, it goes to the view controller / controller that is encoded. Now, what is strange here, it does not respond to the selection, or touch.I checked whether the selection allows or not when editing is selected in IB or not. I selected it, now the twist is here, when I touch the cell of the table, it does not respond, instead, when I scroll it horizontally / when I press for a long time I don’t understand the reason why I need to scroll it to make a cell selection in operating mode table. This also happens with the button under the table view!
I was looking for problems similar to my case, but I found only one question there, it was suggested to check this method,
-(NSIndexPath *)tableView:(UITableView *)tableView willSelectRowAtIndexPath:(NSIndexPath *)indexPath
But I did not implement this method at all, that I actually have a tab bar with several elements, where I have a controller called AddController, for accessing several attributes and strings, etc., declared in the controller, I subclass it in the following way:
@interface ViewController : AddController
Now, since it was indicated in the question I saw, i.e. the link I gave to check if you copy the same code on the controller page of the subclass, I talked about the subclass and what I did, I hope everyone understands this!
Can anyone advise me on how to get out of this problem and make the table cell respond to normal strokes, any help is greatly appreciated!
Thanks to everyone in advance :)
iphone uitableview didselectrowatindexpath
Eshwar Chaitanya Mar 30 '12 at 8:33 2012-03-30 08:33
source share