I'm trying to follow a YouTube tutorial on using constraints, etc and it gets you to set up a basic Storyboard along with some different coloured views. I can set them up fine, and put the widths, and heights in but as soon as I try to resize a view by the resizing arrows that appear around it's edge, all the other views disappear because their widths/heights are reset to zero. Am I causing this or is it a bug?
Asked
Active
Viewed 59 times
3
-
it is bug with xcode5 – Sheshnath Dec 03 '14 at 11:50
-
Thanks for letting me know. So you have to set all sizes manually? – Phil Dec 03 '14 at 11:52
-
I believe Xcode updates the views frame according to the constraints which you don't have, either add constraints at IB or disable auto-layout. – A-Live Dec 03 '14 at 11:54
-
just restarting xcode can solve problem some time. it was happening with me too,OS X 10.10 and xcode5, but on OS X 10.9.4 it' never happened. – Sheshnath Dec 03 '14 at 11:56
-
when it makes all otherviews reset frame or do something odd do Command+z undo it. and then add the same view but this time be careful while adding – iOSdev Dec 03 '14 at 11:56
-
I also just noticed that if I set the "Intrinsic size" to placeholder it doesn't reset the sizes. – Phil Dec 03 '14 at 12:03
-
Seems to be fixed at 6.1.1. – A-Live Dec 03 '14 at 12:26