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.
我想知道是否有可能检测到用户的手指何时触摸 iPhone 5S/6 上的主页按钮,而不必寻找身份验证。我不需要验证任何类型的生物特征数据,甚至根本不需要访问安全飞地,我只想将它用作手机上的另一个传感器。
与目前在 iPhone 上的可达性工作方式类似,我只想检测传感器上的触摸,而不是按钮按下。
有任何想法吗?
没有用于此的公共 API。我寻找UIApplication了一个私有 API,但也找不到其中之一。
UIApplication