I see similar questions already here and Google but none answer my actual question. I'd like to have a single NIB for both iPhone and iPad. The NIB itself is supposed to have an empty view only. Everything that should go into the view is done programmatically. I check if device is iPhone/iPad and then calculate and set the layout. A little more work but for the required task this the best solution for me.
But when adding a new view through "New File... -> User Interface -> View" I'm asked for the device Family. The choices are of course iPhone OR iPad. But I want the view to work on both devices, kind of generic.
I tried the iPhone view and it actually works on both devices, iPhone AND iPad. So it seems that everything is fine. My question is more generic asking if it is ok to re-use the iPhone view also for iPad. Shall I do it differently? Any better solution?
Please understand that I really want to work with a single view and programmatically, so solutions to use separate views for each device and use IB shall be left out please!!!
Thanks