UIInterfaceOrientationIsLandscape(interfaceOrientation); // original that does not work}- (void)willRotateToInterfaceOrientation:(UIInterfaceOrientation)toInterfaceOrientation有没有可能强制定向?为了使启动
我有一个带有UIView子类的UIViewController作为子视图,这里有一个作为该UIView的子视图添加的UITableView,如下所示:-UIView--UITableView (plucked from a UITableViewController)
在iPad上,如果我以任何一个方向加载视图控制器,我都可以与表视图完美地交互。然而,如果我将设备旋转到一个新的方向-我有代码改变框架,使其适应新的分辨率,但表的一小部分