简体   繁体   中英

iOS7/iphone 5s home button tap API

So with this new fingerprint thing you only need to tap the home button and hold your finger for a few moments to unlock your phone. I was wondering if there's an API that lets us make use of the "Tap" functionality.

ie Let's say in my app, when the user taps the home button, my app does xyz.

Also, would it be possible for my app to read these taps when the screen is locked?

NOTE: By tap I do not mean pressing the button, just a tap, like when we unlock the iPhone 5s with the fingerprint scan.

I'm completely new to iOS development. So referencing libraries with links etc and basic tutorials might make things a bit clearer for me.

Thanks.

Nope. This API does not exist. File a feature request at http://bugreport.apple.com . I can't imagine that this will get implemented though, given the possibility of abuse.

No there is no public API for the Touch ID sensor... yet. And there may never be one.

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