Issue scrollview content height iOS swift

 Problem:

I'm having one scrollview with dynamic content.Inside the scrollview i'm having tableview inside the scroll view also tableview had dynamic content.

I want tableview will not be scrollable and it will be update height based on its content.Also scrollview content size wants to be dynamic.How to achieve that?

Solution:

You ca easily achieve that.First in will display cell call the layoutsubviews for the dynamic cell fields.Inside willdisplay cell call the dynamic updated scrollview content height.

Then it will works good..

Comments

Popular posts from this blog

Invalid bundle error while upload the app to the app Store

Convert NsNumber, NSDate to String in iOS Swift

Global LocationManager Singleton class iOS Swift