阅读背景:

在所有视图控制器中创建一个持久按钮。

来源:互联网 

I want to have a persistent button in the bottom right corner of my app. During all view transitions, the button should remain static. I'm having trouble deciding what view to add the button to. I know the button ought to be stored in the AppDelegate, but I don't know what other view it would be sense to add it to except the window. One downside of adding it to the window is that when there's an app running in the background (ie Phone), the added status bar padding will push down the window. In general, adding it to the window seems to be a hacky solution -- any thoughts?I want to have a persistent button in the botto




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: