真机terminate called after throwing an instance

默认工程创建一个singleview直接编译真机,模拟器都可以正常运行,但是添加一个标签到nib中,模拟器可以运行,真机terminate called after throwing an instance of \'NSException\'

 

着是什么问题呢?

 

 

这个问题是因为autolayout引起的,取消勾选就可以了

你可能感兴趣的:(真机terminate called after throwing an instance)