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.
我正在尝试找出解锁设备的方法在哪里。我正在使用 SBAwayLockBar 但 SpringBoard 崩溃并返回 SBAwayLockBar 的实例可能无法响应选择器,解锁。那么,是否有一种私有方法可以让我在 iOS 5.1 上解锁设备?
我认为解锁设备的功能在 SBAwayController.h 中。(老实说,我只是快速查看了头文件)。我发现这些很有趣。
- (void)attemptUnlockFromSource:(int)source; // 0x441d5 - (void)attemptUnlock; - (void)_finishedUnlockAttemptWithStatus:(BOOL)status;