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:
the output says @ x , y when run program had them on viewcontroller
try
disable use auto layout option , try again.
hope helps.
Comments
Post a Comment