2012-06-26 54 views

回答

1

我可以自己解決。

我添加了一個新的UIViewController,並由BI自定義它。 並設置下面幾行,

controller.view.frame = CGRectMake(10, 30, controller.view.frame.size.width,controller.view.frame.size.height); 
[self.view addSubview:controller.view]; 
[self addChildViewController:controller]; 

如果你想通過下面將其刪除,

UIView* subview = [self.view viewWithTag:STORE_VIEW_TAG]; 
[subview removeFromSuperview]; 
[self removeFromParentViewController];