Why uicontrol is provided if we can create custom uiview?



Why uicontrol is provided if we can create custom uiview?..

Answer / Ajay Kant Singh

"UIControl provides a common interface for several UI elements that can respond to user interactions (e.g., buttons, sliders). By providing a consistent API for handling events like taps and changes, it makes it easier for developers to create responsive apps with minimal boilerplate code. Custom UIView subclasses can also be made into controls by conforming to the UIControllable protocol.""

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Apple iOS Interview Questions

Define 'copy' keyword?

1 Answers  


Is ios development hard?

1 Answers  


How are non-atomic and atomic properties different? Which one is the default property for synthesized properties? When would a user operate one over the other?

1 Answers  


What are the different store migration options?

1 Answers  


Define 'retain' keyword?

1 Answers  


What does ios stand for apple?

1 Answers  


How do you decide when to use infinite scroll or pagination in ios? : IOS Architect

1 Answers  


What is a view controller in ios?

1 Answers  


What are the viewcontroller lifecycle in ios?

1 Answers  


What is category and extension in ios?

1 Answers  


What is core data stack?

1 Answers  


What is the difference between synchronous & asynchronous task in ios?

1 Answers  


Categories