Tab bar disappear after segue
<p>After reading few topics in stack overflow about this problem, maybe someone will find where is my mistake: The tab bar in the destination controller disappear.
My source view controller is a Table view controller. when clicking on the cell There is a segue to Navigation view controller that linked to the destination view controller.
The segue is modal.</p>

<p>Table View Controller:</p>

<pre><code>- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
NSLog(@"cell selected");

//doing some thing and call to the segue..

[self performSegueWithIdentifier:@"fromSearchToProfileSeg" sender:nil];
}
</code></pre>

<p>And the prepareForSegue:</p>

<pre><code>- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
if ([[segue identifier] isEqualToString:@"fromSearchToProfileSeg"]){
    ///searchVC.username = self.username;
    NavViewController *navigationController = segue.destinationViewController;
    ProfileViewController *pro = (ProfileViewController * )navigationController.topViewController;
    pro.username = self.username;

    }

}
</code></pre>

<p>And it's Look like:</p>

<p><a href="https://i.stack.imgur.com/s9X0X.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/s9X0X.png" alt="enter image description here"></a>
Unfortunately, When clicking on the cell, the segue is working and the destination view controller is open, but the tab bar disappear. Does anyone know where is the mistake?</p>