[viewController.view removeFromSuperView]之间的区别;和[uiviewController removeFromParentViewController];?

时间:2012-04-18 14:51:07

标签: ios xcode view uiview

之间有什么区别
[viewController.view removeFromSuperView]; 

[viewController removeFromParentViewController]; ?

我只想从UIScrollView中删除子视图,当然代码应该是这样的[viewController.view removeFromSuperView];

但是当我尝试[viewController removeFromParentViewController];时,它似乎也很有用。怪异!

0 个答案:

没有答案