Are you sure you want to use a segue, because the segue often connect a certain view controller. And you can connect the segue to a button.
for segue you can write code like this
-(void) prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender{
if ([segue.identifier isEqualToString:@"showResult"]) {
//here you can pass some params to the segue.destinationViewController
}
}
and for your question I thing you can just make a simple judgement.
if(textView ==1 )
{
[self presentedViewController:tabController];
}
if(textview== 2){
self presentedViewController:navigationController];
}