mardi 14 avril 2015

ScrollView in iOS UIView doesn't move


Vote count:

0




I am investigating this problem for three days without much result.


According to what I found on Stackoverflow, I should set the content size bigger than my actual content, which I have done:



self.scrollView.contentSize =CGSizeMake(320, 700);


I also have added Autolayout constraints for each item in the scrollview container, to stick to the superview (scrollview) and to each other.


However there is no joy. I have uploaded this example on Github.


What am I missing please? Thanks



asked 1 min ago

Houman

12.8k






ScrollView in iOS UIView doesn't move

Aucun commentaire:

Enregistrer un commentaire