2

I have an embedded UIViewController that is intended to take up the full width and some fraction of the height of its parent.

I expect it to take on vastly different heights for different scenarios within the same size class of its parent.

I would like to be able to design for these height changes using different size classes in interface builder.

Is there any way to tell this child view controller, for example, that it should have vertical size class UIUserInterfaceSizeClassCompact even though its parent might have UIUserInterfaceSizeClassRegular?

blackp
  • 1,752
  • 3
  • 13
  • 14

1 Answers1

0

Seems like lot of people facing this issue (differentiating iPad portrait and landscape orientations using size class). The below post seems to have a probable solution.

Sizing class for iPad portrait and Landscape Modes

Community
  • 1
  • 1
Rashmi Ranjan mallick
  • 6,390
  • 8
  • 42
  • 59