Search code examples
iosuitableviewxcode-storyboard

How to handle long view in storyboard


So I want to have a different type of custom cell but my problem is how can I add more if there is not enough space in a certain view in story board.

E.G. Sample UI


Solution

  • Select your view controller, and in the fourth tab of InterfaceBuilder, select 'freeform' in size.

    enter image description here

    OR

    Inside the UIStoryboard, you can simply select your UIViewController and go directly to the fifth tab. Just change the Simulated Size from Fixed to Freeform .

    enter image description here

    It works for you