我有一个继承自 UITableViewContoller 的 UIViewController:
@interface AllProductsViewController : UITableViewController
如果设备已旋转,我需要重新绘制表格单元格。看起来我无权访问 UITableViewController 中的 viewDidRotate 那么在这种情况下采取的最佳方法是什么?
最佳答案
The UITableViewController inherits from UIViewController ,所以是的,您可以访问这些方法。
关于iphone - 如何让 UITableView 响应 viewDidRotate?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10502730/