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

OpenCV OpenCL: Convert Mat to Bitmap in JNI Layer for Android -

android - org.xmlpull.v1.XmlPullParserException: expected: START_TAG {http://schemas.xmlsoap.org/soap/envelope/}Envelope -

python - How to remove the Xframe Options header in django? -