自动布局和view 设置frame同时有效 view 必须启用 [self.hotView setTranslatesAutoresizingMaskIntoConstraints:YES]; 这个属性才能有效 生活令人怀念