How we can layout subviews in a view?



How we can layout subviews in a view?..

Answer / Gourav Pandey

To layout subviews in a view, you can use Auto Layout, which is a framework in iOS for designing and positioning UI elements. You can also use Core Graphics functions like addSubview, frame, center, bounds, etc., to manually manipulate the position and size of subviews.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Objective-C Interview Questions

Is objective c open source?

1 Answers  


What is the purpose of the protocol?

1 Answers  


What is assign property in objective c?

1 Answers  


Explain what is dot notation?

1 Answers  


Is a fact objective?

1 Answers  


What does r mean in xcode?

1 Answers  


What do you mean by cocoa?

1 Answers  


What is the use of category in objective-c?

1 Answers  


Does objective c have garbage collection?

1 Answers  


What are the 5 principles of object oriented programming?

1 Answers  


Is struct a class?

1 Answers  


Can you learn swift without knowing objective c?

1 Answers  


Categories