Note that there are some explanatory texts on larger screens.

plurals
  1. POdidSelectRowAtIndexPath not get called
    primarykey
    data
    text
    <p>I have a UITableView inside a UIViewController like so:</p> <p>.h</p> <pre><code>@interface OutageListViewController : UIViewController&lt;UITableViewDelegate,UITableViewDataSource&gt; { IBOutlet UITableView *outageTable; </code></pre> <p>.m</p> <pre><code>- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath { NSLog(@"Selected"); } </code></pre> <p>I have customized table cell:</p> <p>//EDIT I have fire UILabel side by side on my customized view, as well as a background spreading the entire area. But after resizing/removing the background image and label I putted on the customized cell, "didSelectRowAtIndexPath" is still not being called. //END EDIT</p> <pre><code>@interface AbstractSummaryListViewCell : UITableViewCell {...} </code></pre> <p>and</p> <pre><code>@interface FiveColumnSummaryCell : AbstractSummaryListViewCell {...} </code></pre> <p>This UIView is inside another UIView:</p> <pre><code>@interface CustomTabBarController : UIViewController { OutageListViewController *outageListViewController; </code></pre> <p>And my AppDelegate add this to the window:</p> <pre><code>[window addSubview:[customTabBarController view]]; </code></pre> <p>Now I'm trying to determine which cell get clicked and didSelectRowAtIndexPath doesn't get called, I have dataSource and delegate connect from the UITableView to File's Owner, in fact the data populates correctly as my "cellForRowAtIndexPath" specifies, any ideas how can I fix this?</p> <p>Thanks!</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload