Multiple views in a UIWindow

前端 未结 3 1905
北海茫月
北海茫月 2021-01-06 18:47

I have a \"navigation based application\" which also needs to have a view always displayed at the bottom of the screen at all times. I added this new view to a UIWindow afte

3条回答
  •  独厮守ぢ
    2021-01-06 19:35

    If you are adding a view on top of another by adding as subview rotation will not work (view won't be notified of rotation). What you can do is register the view with the device to be notified of rotation events, then you can programatically handle rotation (it will not do it for you).

提交回复
热议问题