本文介绍了即将解锁设备时调用哪种方法?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道滑动以解锁时-(void)解锁(或称为什么)的作用 LockScreen 上是code>。

I would like to know where the -(void)unlock (or whatever is called) used when we "slide to unlock" on the LockScreen is.

有人知道吗?

推荐答案

尝试一下

iOS 4-5

SBAwayController -(void)_finishedUnlockAttemptWithStatus:(char)

当设备即将被解锁时,参数将为非零值(我不太确定设备被解锁时该参数将始终为1)。

Argument will be non zero (I don't quite sure it will always be 1 when device is unlocked) when device is about to be unlocked.

iOS 6

SBAwayController -(void)_finishUnlockWithSound:(char) unlockSource:(int) isAutoUnlock:(char)

iOS 7

SBLockScreenViewController -(void)finishUIUnlockFromSource:(int)

这篇关于即将解锁设备时调用哪种方法?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-05 08:24