I’m new to iOS & Xcode development.
I have created a new story board project showing a blank screen. I need to add other subview to the main view programmatically from my UIViewController.
In order for me to fire addSubview:containerView I need first to get hold to a reference to the main View. How do I do that?
In your ViewController, do as following to add the subview,