JT3DScrollView
JT3DScrollView copied to clipboard
First item on Scrollview doesn't appear correctly on screen with Navigation Controller
Hello,
Using the example provided on the .zip I added a Navigation View Controller and the behavior of the first Item on the array does not center correctly, also the rest of them works fine. I've tried changing the top constraints to the navigation controller instead of the TOP of the view. See video
https://drive.google.com/file/d/0B4Q3UfIP0FCUZUI5Y3BDWEFlQ0U/view?usp=sharing
Thanks
I think the height of the contentSize of the scrollview if bigger than the height of the scrollView, so you have a vertical scroll. I don't use the storyboard so I can't help you more with this.
But since it works fine without the navigation controller, is not related to that?
I think it's related to the constraints you have defined.
I have them defined same as you had it on your example. Only difference is top constraint is to the navigation controller instead of the view. See image, also here is the link of the example project as I have it now.
https://drive.google.com/file/d/0B4Q3UfIP0FCUR2JCSDBFOE51dUU/view?usp=sharing