I am trying to get the window coordinates of a table view using the following code:
[self.tableView.superview convertRect:self.tableView.frame toView:nil]>
[self.tableView.superview convertRect:self.tableView.frame toView:nil]
Try bounds instead of frame self.parentViewController.view.bounds for it gives me adjusted coords according to the current orientation
self.parentViewController.view.bounds