I subclassed UIView and created a NIB that controls the core logic for my application.
Hoping that the presentation will scale well, I want to use it for both the iPhone and iPad versions of the application.
On the iPhone, the view will cover the entire screen. On iPad, the view will cover only part of the screen.
I read that you should not use UIViewControllers to control only part of the screen. So, I'm trying to embed a custom UIView in the main view of the UIViewController using IB.
How can I do that?
source share