Tutorial by Examples

When using Autolayout with a UIScrollView, it does NOT resize properly depending on the size of its contents or subviews. In order to get a UIScrollView to automatically scroll when its contents become too large to fit in the visible area, we need to add a ContentView and some constraints that allo...
While using scrollviews in storyboard it's better to calculate content size according to number of views present in scrollview rather than giving content size programatically with static value. Here are the steps to get content size dynamically. Step 1 : Add Scrollview to view in storyboard and ...

Page 1 of 1