Disabling autorotate for a single UIView

前端 未结 4 1823
野趣味
野趣味 2020-12-17 00:41

Okay, this seems like it should be relatively simple, but I\'ve been Googling for the better part of an hour, and can\'t seem to find what I need.

I have a view cont

4条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-17 01:07

    I don't know about a 'proper' way, but a work-around is to create the background vie image in both orientations and just change the background view. Good question though - will be interested to see what people come up with as a solution.

提交回复
热议问题