-It basically loads and disposes the views, for managing interactions with those views, and coordinates responses with the suitable data objects.
-View controllers also communicates with other view controllers to manage your app’s overall interface.
We often instantiate the UIViewController subclasses and use those objects to gain some specific behaviors and visual appearances that we need.
The view controllers are tightly bound to the views and takes part in the responder chain to handle events.Views can't handle an event,it's the view controller that handles the event or passes it along to the superview.
- It updates the contents of the views
- It responds to user interactions with views.
- It manages resizing views and the layout of the overall interface.
A view controller can create a different view controller to show a new set of views, or it may act as a container for other view controllers’ content and animate views .
Top iOS Interview Questions And Answers for Beginners
Top 5 Simple iOS Interview Questions And Answers
Most Important iPhone interview Questions and Answers
Top iOS interview Questions And Answers Collection