Hi Guys,
Just something I thought I'd share that I haven't seen in an App before.
Seven broken guidelines!!!
No seriously, This flag being set here:
And then in your main loop,
Now you have a sound that indicates the transition from a static frame,
to your program being active when it is resumed from suspend...
or that was the idea.
It also sounds when you answer an iOS alert dialogue such as whether or
not to allow Location Services, because the App is suspended.
Then the sound feels like a confirmation of the OK button being pushed.
Another is Ending a phone call where the phone call interrupted your App.
It feels like the App knew you hung up as soon as you end the call,
as if the App was waiting rather than iOS. Not bad for the investment.
Just something I thought I'd share that I haven't seen in an App before.
Seven broken guidelines!!!
No seriously, This flag being set here:
Code:
- (void)applicationDidBecomeActive:(UIApplication *)application
{
resumed = 1;
}
And then in your main loop,
Code:
if (resumed == 1) {
// play a sound here
resumed = 0;
} // resumed
Now you have a sound that indicates the transition from a static frame,
to your program being active when it is resumed from suspend...
or that was the idea.
It also sounds when you answer an iOS alert dialogue such as whether or
not to allow Location Services, because the App is suspended.
Then the sound feels like a confirmation of the OK button being pushed.
Another is Ending a phone call where the phone call interrupted your App.
It feels like the App knew you hung up as soon as you end the call,
as if the App was waiting rather than iOS. Not bad for the investment.