Recognize the squeeze gesture

Hey all,

I want to ask is it possible that we just squeeze our phone inside our pocket or jacket and our app activate.
Basically what I need is, I want to open my app by just squeeze my iPhone. Is it possible if yes then please provide me with some helping material.

Best Regards,

Replies

Could you clarify the use case ?
  • your app is closed

  • you squeeze the iPhone

  • that opens your app.

But how could it open your app specifically ?

You can detect a shake gesture in your app, but that supposes your app is already active.


In iOS 14, you can add external buttons (with external hardware) to perform some actions (accessibility settings). But I did not see something close to what you look for.
I got your point. Thanks for the reply.
I know we can detect the shake gesture when app is active.

Thanks again.
Thanks for feedback. I'm sorry not to know better option.

Maybe you could ask the question to support ? Or if really important use a DTS ticket ?

And don't forget to close the thread.

Have a good day.