Force iOS view to not rotate, while still allowing child to rotate

前端 未结 6 723
粉色の甜心
粉色の甜心 2021-02-02 02:42

I have a view controller with a child view controller.

tab bar controller
|
|
nav controller
|
|
UIPageViewController (should rotate)
|
|
A (Video Player) (shoul         


        
6条回答
  •  难免孤独
    2021-02-02 03:00

    You can subscribe to rotation change notifications, and manually set the rotation transform matrix on the subview you want to rotate.

提交回复
热议问题