uiscrollview - iOS 7 ScrollView Not Scrolling -
I have a problem that I have seen some reasonable comments / answers - I have tried to do this but I still have some There is no luck.
I am using iOS 7 and a scene on which I have a UIScrollView
.
I set a UIScrollView
above using a IBOutlet
, then set the content code to viewDidLoad
.
Although it does not seem to scroll. I have autoline and I do not want to turn it off (if I turn off, I get some answers but I think that is not the right solution in my case).
Any thoughts?
As I said in my comment, instead of the size of the content in viewDidLayoutSubviews
Try setting viewDidLoad
- the way you set the ScrollView content size, it is no longer affected by the automatic layout because AutoLayout already does "layout [sub]" layout is.
Comments
Post a Comment