当我UIActionSheet在我的视图控制器中使用时,我的视图控制器支持四个方向,我创建一个UIActionSheet,并显示UIActionSheet。当我触摸一个按钮时UIActionSheet,UIActionSheet关闭,然后旋转我的 iPhone,我的视图控件不支持旋转。不执行rotate的委托,如:
- (BOOL)shouldAutorotate
{
}
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
{
}
