In my case I received the issue of incorrect content size and content Size Ambiguity in iPad but was working in case of iPhone. I have done the following changes in storyboard to resolve the issue.
- Add scrollview in UIView and add constraints leading, top, trailing and bottom to 0,0,0,0.
- Set height of scroll view as per the requirements for eg. 100.
- Add UIView to scroll view and add constraints leading, top, trailing and bottom to 0,0,0,0 and align centre(X) and center(Y) constraints.
- Deselect “Content Layout Guides” in size inspector of scroll view.