SALMAN JAMIL
SALMAN JAMIL

Reputation: 1

Window resizing in Mac application development

Hello everyone I want to know that how could I design my user-interface relatively.I mean to say that if I resize my window its subviews should resize accordingly without overlapping each other.In .Net I remember that we use rows and columns to design our user-interface.What is the proper design pattern in xcode so our application is screen-size independent.As far as I know for this we will have to set the sizes of our views programmatically.We can not do it in interface builder.Any suggestions please!

Upvotes: 0

Views: 1159

Answers (1)

user557219
user557219

Reputation:

Read the Setting a View’s Autosizing Behaviour section in Interface Builder User Guide. You want to configure the autosizing rules of your views with the springs & struts mechanism. This can be done either in Interface Builder or programatically via autoresizing masks.

Interface Builder autosizing rules

Upvotes: 1

Related Questions