You should not have two main views in one view controller, instead you need to create one view controller for each view that you want to show. However, you can have multiple subzones in the same view controller, which may be what works for you.
There are several approaches to solve this problem, the right approach would be to create a UIViewController container and add the 2 hot servers that you want to show as your children, just set the view to the view controller that you want to display, but this, will probably be overly complex as you mention that you are new to iOS development.
So a simple solution (not sure if you can implement this in a storyboard - since I don't like it) would be to have one view controller, with tabs and 2 main view subviews, then you can just switch between views, doing something like this:
[self.view addSubview:view1]
// to switch
[view1 removeFromSuperview]; [self.view addSubView:view2];
alternatively, you really do not need to remove it from the supervisor, but just hide it and then use bringSubViewToFront to show the desired view.
If you want to use a different approach, I would recommend that you watch this video on WWDC 2011 video titled “Implementing the UIViewController Containment”. This other question should be useful for: UISegmented control with two views
Hope this helps.
source share