I am creating app with UiScrollview and UIPagectontrol using Autolayout Programmatically, for
I have Created TKScroller as subclass of UIView, I am init it
In my experience with AutoLayout (that I use programmatically too). You should not add views directly to your UIScrollView.
You should do one UIView and only one, that you add as subview of your UIScrollView.
Once this is done, you can add all of your subviews to this UIView.
Everything is explained in detail here : Apple iOS Technical Note TN2154