简体   繁体   中英

How do I respond to a click on the iphone status bar?

UIScrollView and UIWebView both have special handlers for when the user clicks on the status bar. Is there any way to handle status bar clicks in my views and view controllers?

获取当前受支持的状态栏触摸的唯一方法是将视图嵌入UIScrollView并在滚动委托上实现scrollViewShouldScrollToTop,返回NO并将其视为tap事件。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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