Note that there are some explanatory texts on larger screens.

plurals
  1. POcustom UITableViewController cell segue not pushing
    text
    copied!<p>I have a custom UITableViewController showing a TableView with a list of locations, I created a segue in the storyboard (ios 5) and gave it an Identifier "SelectPlace", it's coming out of a cell in the first UITableViewController and is supposed to segue to the next UITableViewController showing a new tableview with a list of details of the location chosen.</p> <p>Problem is the segue does not perform (next TableViewController is not pushed into screen, current one stays on) even though I double checked for the correct identifier and set everything in place. I even see (breakpoints) the -prepareForSegue happening and completing successfully.</p> <p>I also tried adding </p> <pre><code>[self performSegueWithIdentifier:@"SelectPlace" sender:[self.tableView cellForRowAtIndexPath:indexPath]]; </code></pre> <p>to the cell selection </p> <pre><code>- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath </code></pre> <p>but it did not help (and I don't think it's neccasary because the segue is drawn on the storyboard)</p> <pre><code>-(void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender { NSLog([segue.identifier description]); if ([segue.identifier isEqualToString:@"SelectPlace"]) { NSArray* placePhotosArr = [FlickrFetcher photosInPlace:[self.topPlacesArray objectAtIndex:([self.tableView indexPathForCell:sender].row)] maxResults:50]; [segue.destinationViewController setPlacePhotosArray:placePhotosArr]; //[segue perform]; NSLog([placePhotosArr description]); } } </code></pre> <p>what's missing??? please help</p>
 

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