Simple solution to Auto Layout on iOS Versions prior to 6.0 ERROR in Mac OSX 10.7 and later


For time immemorial, I have been getting this feeling of being talentless and wasted after completing my Bachelor in Pharmacy and a fuckin’ stupid MBA.  At the same time, my love for iOS apps, Object oriented programming and physical computing was increasing by leaps and bounds and hence I decided to dive – head first into the world of programming without any prior experience.

I am a complete newbie and was learning to code and compile the apps on my Macbook on XCode 4.2 and Mac OSX 10.6.8 until XCode starting messing with my macbook and was slowing and hanging the computer so I decided to buy a Macbook pro and installed the new XCode and fired up a simple code to learn some delegation and to my horror. I was getting these errors,

I checked the code, everything seemed super smooth, interface, implementation but still repeated errors and then figured out a simple solution,

1. You need to click on the left hand menu and select your XIB file,

2. On the right hang side of your XCode window, click on “Show the file inspector button”, scroll down and UNCHECK the ” Use Autolayout” box!

That’s it folks, you can now enjoy your LIFE to the fullest by going back to your previous life of same familiar compiling environment without any hassles!


转自:http://shreekantpawar.com/2012/12/20/simple-solution-to-auto-layout-on-ios-versions-prior-to-6-0-error-in-mac-osx-10-7-and-later/








评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值