Uploaded October 2012 | Updated September 2026, 1 week ago
Subscribe to our channel here for notifications on new video trainings. For more videos on technology, visit our website at http://www.techytube.com.
By jayanth.kurup@techytube, for more from this author visit:
techytube.com/author/jayanth.kurup
In this video we continue exploring the Always ON feature within MS SQL server 2012. This video aims to cover how to setup and configure the Always on Availability group. Here we explore the different screen you will encounter as part of the setup and the basic features you will need to setup the Always on availability group. The video then explore the creation of multiple secondary's that support read operations as well as setting up the listener etc. At this point the user will be familiar with setting up the Always on availability group. In the next video we cover how to perform a manual failover , and how to connect to the Always On listener and the different DMVs and Extended events associated with Always ON.
Subscribe to our channel here for notifications on new video trainings. For more videos on technology, visit our website at http://www.techytube.com.
By jayanth.kurup@techytube, for more from this author visit:
techytube.com/author/jayanth.kurup
In this video we continue exploring the Always ON feature within MS SQL server 2012. This video aims to cover how to setup and configure the Always on Availability group. Here we explore the different screen you will encounter as part of the setup and the basic features you will need to setup the Always on availability group. The video then explore the creation of multiple secondary's that support read operations as well as setting up the listener etc. At this point the user will be familiar with setting up the Always on availability group. In the next video we cover how to perform a manual failover , and how to connect to the Always On listener and the different DMVs and Extended events associated with Always ON.
![How to create view controllers programmatically in iOS
Subscribe to our channel here for notifications on new video trainings. For more videos on technology, visit our website at http://www.techytube.com.
By pavel@techytube, for more from this author visit:
http://www.techytube.com/author/pavel
The UINavigationController class implements a specialized view controller that manages the navigation of hierarchical content. This class is not intended for subclassing. Instead, you use instances of it as-is in situations where you want your applications user interface to reflect the hierarchical nature of your content. This navigation interface makes it possible to present your data efficiently and also makes it easier for the user to navigate that content.
To create a navigation controller programmatically, you have to write the following code:
UINavigationController *navController = [[UINavigationController alloc] initWithRootViewController:self.viewController];
Usually that is done in the AppDelegate.m file, but it can be done in any file you need.
If you do that in the AppDelegate.m file than you should replace the line:
self.window.rootViewController = self.viewController;
with the following line:
self.window.rootViewController = navController;
and it is perfectly ok because UINavigationController is a subclass of UIViewController.
If you run the program, you may notice a blue navigation bar appears on the top. You can customise that if you want, or you can hide it using any of the 2 lines below:
navController.navigationBarHidden = YES;
navController.navigationBar.hidden = YES;
To set a title in the NavBar, you should write in the viewDidLoad method of the ViewController class that is currently displayed by the Navigator object, any of the 2 lines below:
self.navigationItem.title = @Title;
self.title = @Title; How to create view controllers programmatically in iOS](https://i.ytimg.com/vi/zDLjdxmdwxs/mqdefault.jpg)


