我正在为项目使用Storyboard。我有一个带有3个按钮的顶部菜单(UIView中有3个UIButton),它们之间的距离相同。我想在旋转时将此菜单拉伸(stretch)到最大宽度并增加按钮之间的距离。我做了以下事情:-(void)didRotateFromInterfaceOrientation:(UIInterfaceOrientation)orientation{[superdidRotateFromInterfaceOrientation:orientation];UIDeviceOrientationdeviceOrientation=[UIDevicecurrentDev