【发布时间】:2014-07-07 12:51:02
【问题描述】:
![我正在开发一个 ipad 应用程序,我必须将表格视图显示为表单,当我单击表格中的单元格时,表单应调整大小][1]
我写了这段代码
-(void)viewWillAppear:(BOOL)animated
{
self.view.superview.bounds = CGRectMake(0, 0, 290, 620);
}
当单击一个单元格时,我在索引路径处选择行中写了self.view.superview.bounds = CGRectMake(0, 0, 600, 620);。这两次表单都没有显示在中心。我哪里错了。有没有其他方法可以实现这种行为
【问题讨论】:
标签: objective-c ipad modalviewcontroller