如果想使用AutoresizingMask属性需要将Xcode7中的autolayout和sizeclass全部关闭即可。然后选中xib中的某个空间 查看show the Size inspector 就能看到autoresizing了