Move to Child View


/ Published in: Objective C
Save to your folder(s)



Copy this code and paste it in your HTML
  1. //Move to child view
  2. NSInteger row = popOutSlot-1;
  3. if (self.bookDetailViewController == nil) {
  4. BookDetailViewController *aBookDetail = [[BookDetailViewController alloc] initWithNibName:@"BookDetailView" bundle:nil];
  5. self.bookDetailViewController = aBookDetail;
  6. [aBookDetail release];
  7. }
  8. bookDetailViewController.title = [NSString stringWithFormat:@"%@", [booksArray objectAtIndex:row]];
  9.  
  10. [self.navigationController pushViewController:bookDetailViewController animated:YES];

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.