简体   繁体   English

ios 7底部栏内应用程序外观

[英]ios 7 bottom bar inside application appearance

Is there a way to disable new notification bar in ios7 inside applicaton? 有没有办法在applicaton内部的ios7中禁用新的通知栏? I don't want the new bar to show when user swipes from botton while inside my app. 我不希望用户在我的应用程序内从botton滑动时显示新栏。 Thank you 谢谢

Not using public API. 不使用公共API。 And you shouldn't, as this is a universal feature across the operating system, across all software. 而且您不应该这样做,因为这是跨操作系统,跨所有软件的通用功能。 There is no real option. 没有真正的选择。

You can hide the status bar using [[UIApplication sharedApplication] setStatusBarHidden:YES withAnimation:UIStatusBarAnimationNone]; 您可以使用[[UIApplication sharedApplication] setStatusBarHidden:YES withAnimation:UIStatusBarAnimationNone];隐藏状态栏[[UIApplication sharedApplication] setStatusBarHidden:YES withAnimation:UIStatusBarAnimationNone]; . This will not display the control center immediately, however any swipe from the bottom would still show an arrow which, if swiped again, would open the control center. 这不会立即显示控制中心,但是从底部进行的任何滑动仍然会显示一个箭头,如果再次滑动,则会打开控制中心。

在此处输入图片说明

If the user chooses, he or she can disable the control center in third party applications if he chooses to. 如果用户选择,则他或她可以选择禁用第三方应用程序中的控制中心。 You can add a recommendation page in your app, where you may suggest that. 您可以在应用程序中添加一个推荐页面,您可以在其中提出建议。

在此处输入图片说明

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM