Want to use muliple nibs for different iphone interface orientations

前端 未结 4 537
自闭症患者
自闭症患者 2020-12-20 22:57

I have a situation, I have created two different nibs, one in Portrait Mode and other in Landscape mode. I had lots of designs in the view so, i had to opt for two different

4条回答
  •  暖寄归人
    2020-12-20 23:10

    I needed to do the same for my own application and finally ended up with a specific UIAutoRotateView class that will handle that for you.

    see explanation here

    Hope this helps.

提交回复
热议问题