objective c - xcode, ios, Can't move buttons around screen -


the output on console:

2015-07-02 17:31:49.105 make maths fun[15079:90b] but_1.center.x = 155.000000 but_1.center.y = 90.000000

2015-07-02 17:31:49.105 make maths fun[15079:90b] but_2.center.x = 155.000000 but_2.center.y = 140.000000

the code:

but_1.center = cgpointmake(155, 90); but_2.center = cgpointmake(155, 140); 

screenshot:

enter image description here

the output says @ x , y when run program had them on viewcontroller

try

disable use auto layout option , try again.

hope helps.


Comments

Popular posts from this blog

Android : Making Listview full screen -

javascript - Parse JSON from the body of the POST -

javascript - Chrome Extension: Interacting with iframe embedded within popup -