JT3DScrollView icon indicating copy to clipboard operation
JT3DScrollView copied to clipboard

First item on Scrollview doesn't appear correctly on screen with Navigation Controller

Open danglade opened this issue 9 years ago • 4 comments

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

danglade avatar Apr 30 '15 14:04 danglade

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.

johnvuko avatar Apr 30 '15 15:04 johnvuko

But since it works fine without the navigation controller, is not related to that?

danglade avatar Apr 30 '15 15:04 danglade

I think it's related to the constraints you have defined.

johnvuko avatar Apr 30 '15 15:04 johnvuko

image

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

danglade avatar Apr 30 '15 16:04 danglade