Detect if Iphone is in flat position

Closed - This job posting has been filled and work has been completed.

Job Description

Detect if Iphone become in flat position, for example if user put his phone on the table, or he is not using it anymore.

Task:

We need a function to detect that the phone is not in user hand, when the phone is flat or the gyroscope/accelerometer angle is between x or y, a count down must be shown for the user with a text messeage such as (“An x event will be fire in 1, 2, 3…”) user can cancel the event.


Settings:
1. the x, y angle
2. the countdown number.

OutPut:
SubView with the event text and a countdown counter with a cancel button to cancel or skip the event.

NOTE: More business in the future for the good candidates.

Thanks.

Open Attachment