App for iPad and iPhone

I have a question: I am developing an application for both iPhone and iPad and I am using segue-ways to a detail-view on iPhone tableView, but want to use Master-Details view for iPad. Must I create two different apps, or is that a scenario where I need to create classes and profiles? Please help! Thank you so much.