so when i scrolling it up or down y position or offset of scroll view is getting changed, but it remains constant when testing on iPad.
Title: Re: UIScrollView offset changing when applied scaling
Post by: ArenMook on August 18, 2014, 12:27:42 PM
Due to how clipping works (in the shader), scale must be uniform. In your case it isn't, which is what breaks them.
Title: Re: UIScrollView offset changing when applied scaling
Post by: gaurav.maniar on August 19, 2014, 12:36:34 AM
wiil u pls elaborate.....!
my scrollview is with vertical movement, and now no problem with changing in offset values.
as u said "scale must be uniform", i have checked with all devices and x, y and z scale values are same according to screen resolution.
the actual problem is with y position of scrollview, its getting changed when scrolled up/down in devices other than screen ration 3:4.
Title: Re: UIScrollView offset changing when applied scaling
Post by: ArenMook on August 19, 2014, 11:06:56 AM
Sorry, I misread your code. Have you tried simply scaling the parent object of the scroll view, not the scroll view itself? Also, why are you scaling it to begin with? Why not use anchors, or why not just stick to UIRoot scaling?