Unwind segue with Navigation back button

In the end I didn’t need to unwind the segue since I could still get a reference to the parent controller methods by following the navigation controller. I was able to get a reference by doing the following in the – (void)viewWillDisappear:(BOOL)animated method of the child controller NSInteger currentVCIndex = [self.navigationController.viewControllers indexOfObject:self.navigationController.topViewController]; FirstViewController *parent = … Read more

How to remove a Static Cell from a UITableView designed in StoryBoard

Try to hide the cell before it is shown, in UITableViewDelegate‘s tableView:willDisplayCell:forRowAtIndexPath: method. That’s the final method where you can manipulate the cell’s appearance. This however won’t remove the space the cell should take, so another thing you can try is to set cell row’s height to 0 using the tableView:heightForRowAtIndexPath: method of the same … Read more