0

When device rotate to Landscape, I would like to have red UIView be as full-screen while the blue UIView and UIButton is hidden from the screen. While device rotate to Portrait, all of red UIView, blue UIView and UIButton will go back to the original position. The above-mentioned devices include all type of iPhone and iPad.

Please help or try to give some ideas how to achieve this. Thanks in advance.


Following please find the diagram:-

Portrait -image

Landscape -image

Community
  • 1
  • 1
Alice Teng
  • 21
  • 5

1 Answers1

0

Your question is a quite similar to already asked which has some useful answers. Hope this help you.

cocavo
  • 163
  • 8