Danish Khan
Danish Khan

Reputation: 1544

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.

i.e. 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.

Upvotes: 0

Views: 435

Answers (2)

paulrehkugler
paulrehkugler

Reputation: 3271

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

Upvotes: 1

Felix Lamouroux
Felix Lamouroux

Reputation: 7484

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.

Upvotes: 2

Related Questions