Google News
logo
IOS - Interview Questions
What are the activities of UIView in iOS Applications?
There are several activities that are performed by the views in the iOS application.
 
* Drawing and animation
* By using views, we can draw into the rectangular area of the screen.

* Layout and Sub view management
* We can embed one or more subviews into the UIView. The appearance of the subviews can be managed by managing the appearance of the super view.
* We can define the auto-layout rules to govern the size and positioning of the view hierarchy on different iOS devices.

* Event Handling
* A view can respond to the touch and another kind of event since it is the subclass of UIResponder.
* We can add the gesture recognizers for the uiview, such as UITapGestureRecognizer.
Advertisement