移除UIWindow的正确姿势

2022-07-19  本文已影响0人  凤舞玖天

The correct way to hide a window is to set the hidden property to YES. To remove it from UIApplication's windows property you just release the window (in ARC you set all references to nil).

Of course you would want to have another window in place at this time.

上一篇下一篇

猜你喜欢

热点阅读