Distribute option in iPhone interface builder

My application has the following buttons.

Now I want to set an equal distance between all the buttons.

Suppose that if I use corelDraw or Photoshop, there is always an option for alignment and distribution.

Here I need to distribute the objects vertically.

How is this possible in the iPhone interface builder?

An example image is shown below in which distribution is required. alt text http://img268.imageshack.us/img268/4146/problem13.png

+5
source share
5 answers

Depending on the type of object you can do this.

Select all implied objects. 

Select Editor->Embed in->Matrix; 

this will regularly place objects.

Then select the option Editor->Unembed

. , !

+2

, () ()...

, UIButton, , , . , , - , , .

, !

+4

, , , ...

+1

- ( ) , .

, , IB.

+1

- " " Xcode . , .

&

0

All Articles