Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在开发锁定屏幕上新启用的 iOS 10 Today-widgets,在那里我向用户显示了信息。我想在设备锁定时隐藏它。
有没有办法使用 Swift 以编程方式检查锁定状态?