2

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

Ron Pelayo
  • 655
  • 2
  • 7
  • 22

3 Answers3

5

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

0

Thanks to Bhavin Ramani that answer is:

In storyboard: Select YourViewController > Attribute Inspector > change size inferred to Freeform and set height as per your requirement in size inspector

Community
  • 1
  • 1
Ron Pelayo
  • 655
  • 2
  • 7
  • 22
0

Choose your details view controller in storyboard, show it's size inspector and set it's simulated size to Freeform.

Jintao Ou
  • 146
  • 1
  • 7