I'm using universal storyboard for iPhone and iPad sizes. But I need to make a push segue to UITableViewConroller
in iPhone and UICollectionViewController
in iPad. I know, I can make segue to different controllers after this code
if (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPhone)
But it's not so good I think, isn't it? Is there any way to do it exactly in storyboard?