Reputation: 375
I m a newbie in ios development , recently i've start creating simple calculator, but i m facing some real problems when i run this app on simulator . My buttons get over lap where as in .xib they are far away with each other . when to solve this thing i relocate buttons at more distance , text got shrink or hides .
Pictures will clear my problem
FYI : My simulator version is 6.0 and xcode version is 4.5.2 !
Upvotes: 1
Views: 978
Reputation: 535138
By default, a new project in Xcode 4.5.2 uses Autolayout. To turn this off, select the .xib file, use the File inspector, and uncheck "Use Autolayout". This will keep your subviews from jumping around when the superview is resized in the interface (as it is when it loads initially, and when rotating).
Eventually you'll need to learn about autolayout (and autoresizing, and layout in general):
http://www.apeth.com/iOSBook/ch14.html#_layout
Upvotes: 3