steipete/PSStackedView — Issue #22: issue with scrollView.contentOffset inside stacked view
Author: krzak
Created: 2012-02-19 23:36:09+00:00
State: open

Hi,

I'm using [PHRefreshTriggerView](https://github.com/pothibo/PHRefreshTriggerView) with [PSStackerView](https://github.com/steipete/PSStackedView) and discover some issue. Here's details:

I have stacked view, that contain empty (with no elements, this is important) UITableView element. For the first time if view if pushed using pushViewController like this

```
[XAppDelegate.stackController pushViewController:contacts fromViewController:nil animated:NO];
```

then tableView.contentOffset.y is allways = 0 inside method

```
- (void)touchesMoved:(NSSet *)touches withEvent:(UIEvent *)event;
```

and here's wired thing: after I rotate device, everything start working again. All I have to do is rotate device. I already check PHRefreshTriggerView and looks fine, only tableView.contentOffset.y is allways = 0 at first, and I think that it may be related to some layouts on PSStackedView classes.