How do you handle an incoming call while playing a game?

If you're playing a game on your iPhone, how do you handle an incoming call? A call will stop my app from running, but how do I save the state and restore it when the user starts the app again?
I have a bunch of objects on-screen and I need to record where they are so that the user doesn't lose the progress of their game.
I've looked through the SDK, but I can't see anything obvious. Any ideas?

I don't have a device to test with, but I suspect you'd want to save state in one of the UIApplicationDelegate callbacks:
applicationWillResignActive:
applicationWillTerminate:

Similar Messages

  • How do you ignore an incoming call?

    Now, I swear I thought there was an "answer call" and "ignore call" button that would appear when an incoming call, but all I have is "slide to answer" at the bottom. Is there a setting I fooled around with?

    You're right.. you do have to slide and that answers the cal.
    So, if you're iPhone is in "lock" or sleep mode, just press the Sleep/Wake button up top when you wish to ignore the call.
    Press once to silence the ring and ignore.
    Press it twice to send the call to voicemail

  • Will any docking station allow an answer to incomming calls while playing music?

    Not all docking station/speaker say that they support answering incomming calls?  Is it a function of the iPhone4 or of rhe docking station/speaker?

    Maybe This will help
    http://www.amazon.com/XtremeMac-Incharge-Charging-iPhone-Black/dp/B005F0MA9O

  • How can I be notified of incoming calls while on-line?

    I am currently using dial-up and I'm wondering if there is already an application in my hard drive which would allow me to be notified when I was receiving an incoming call while I'm online? (I'm looking to get rid of my 2nd phone line which I only use for internet connection.)
    Any suggestions? I also know there are services out there: CallWave, Pagoo, BuzMe but I hear they will bombard your waiting callers with advertisements. Isn't there also a device which you can plug in which lets you know if the incoming call is fax, phone or whatever? Any suggestions, advice, recommendations would be very helpful.
    Thank you!
    lablady

    tinpan,
    Thanks. I haven't heard of any of these programs. I'll also check out those websites. But, I'm not concerned about caller ID, per se. I don't care if I know who is calling me before I pick up the phone, I just want to be alerted that a phone call is coming in while I'm online. I thought I saw some sort of "box" that could let you know this but it was years ago and I don't know if it's available anymore nor can I remember the name. If I recall correctly, it was about $40. I was hoping it was cheaper by now.
    And, I wasn't sure if Apple actually had this capability on any of their Macs but wanted to check. Sure would be an added plus, don't you think?
    Thanks again!
    lablady

  • How do I change my incoming calls to view caller's phone number instead of name?  This is for numbers not stored in my contacts (i.e. Unknown)

    How do I change my incoming call view to see the "phone number" instead of seeing "Unknown" for contacts who are not stored in my phone?  Whenever a call comes in it says unknow instead on the phone number that is calling.

    You need to set up the accounts in System Preferences/Accounts, then activate Fast User Switching.
    That way you can quickly log in to your own account - then back to his.
    You should obviously have different passwords.

  • How Can I Restrict Unwanted Incoming Call in iphone 4

    How Can I Restrict Unwanted Incoming Call. Help Me

    Your carrier might be able to help you but there isn't a setting on the phone to do it.

  • I've purchased two numbers Skype How do I know an incoming call to any number of digits?

    I've purchased two numbers Skype How do I know an incoming call to any number of digits?

    You can get the past 18 months' worth of call logs via your MyVerizon account by viewing past bills.  For those older than 18 months, you'd need to talk to Customer Service; I believe they charge $5 per bill to send them to you.
    Customer Service:
    Dial *611 from a cell phone
    (800) 922-0204
    Monday - Sunday 6 am - 11 pm

  • I am having  problem for my incoming call while accessing in GPRS or WIFI with my iphone 3g so plz help

    I am having regular problem with my iphone i am not able to get my incoming call while i am surffing on my iphone 3g, if sum one call me he get the message that the person u r calling is out of coverage area.
    And after completing my work on iphone i have to every time reset network in my iphone manually now its every day's problem, so if u have solution plz give me
    THANKS.........

        Oh boy! Acting kind of weird seems to be an understatement, aquaequus!
    What type of troubleshooting were we able to do with you? I want to make sure that we can get some sort of resolution for this problem.
    It is quite possible the battery door may get your phone in working order again. I'm not sure if the store has it in stock, but it is available in our warehouse for $14.99 which can be ordered via customer service.
    Tamara H.
    Follow us on Twitter @VZWSupport

  • How do you handle multiple at the same address?

    My wife just got an iMac. She is using the Birthday feature in Address Book and iCal to track our friends and family birthdays and anniversaries.
    Question:
    How do you track it when multiple people are at the same address? For instance, our friends are a family of four, but they all live at the same address. Do you need to make a separate Address Book card for each of them, even the 1 year old baby? Or can you track multiple people in a single card with custom fields?
    If you do need to make multiple cards, then how do you handle mailing lists? For instance, if I make separate cards for all four of them, how do I make sure I only send on Christmas card when I use my Mac to print labels?
    Thanks for any advice.

    This is really an issue that you're going to have to resolve yourself since Apple's address book isn't really built with this in mind - darn it. For me there are three scenarios. First, a singleton. No problem. Second a family for which all members share the same information - acquantences to whom I don't send birthday greetings. These get one card and I'll put in both (or all) their names in the first name field (as in Bob and Jean). If there are children, in the last name field I'll add 'and Ken' or 'and the kids'. Third, a family for which some fields are different - perhaps cell phone number, birthday, etc.
    For mailing purposes, I create a holiday group and put the people I'll be sending cards to into the group.

  • Does Firefox OS have a feature that alerts or notify's you if an incoming call has been redirected or diverted to your phone (from another phone)?

    Hi, Was wondering if
    Firefox OS have a feature that alerts or notify's you if an incoming call has been redirected or diverted to
    your phone (from another phone)?
    This feature was common in basic phones and feature phones but is absent on Android, Apple
    and Windows phones.
    It's useful if your operating a business and want to distinguish if an incoming call is a personal
    or a business call.
    Cheers
    Greg

    Hi GregCh,
    I understand that you would like a way to distinguish between incoming calls that were dialed directly to your phone number, and incoming calls that were forwarded to your phone number (from another phone).
    Unfortunately, there is no such feature in Firefox OS that I am aware of. Forwarding services such as Google Voice may have settings available that would allow you to distinguish the forwarded incoming calls, but I am not entirely sure.
    Please let us know if you have any other questions about your Firefox OS device.
    Thanks,
    - Ralph

  • How do you show only one caller's video display wi...

    How do you show only one caller's video output with four people sharing a video call? i.e. the call originator wants to show a DVD video on a TV screen and the other callers want to view the video on full screen not just one fourth of their screen.

    Thought I'd try this just in case they are stripping out attachments.
    Gary Grow
    6457 Audubon Sq Dr N
    Mobile, AL 36695
    Email: [email protected]
    Cell: (251) 422-8817
    The American Creed by William Tyler Paige
    I believe in the United States of America as a government of the people, by the people, for the people; whose just powers are derived from the consent of the governed, a democracy in a republic, a sovereign Nation of many sovereign States; a perfect union, one and inseparable; established upon those principles of freedom, equality, justice and humanity for which American patriots sacrificed their lives and fortunes. I therefore believe it is my duty to my country to love it, to support its Constitution, to obey its laws, to respect its flag, and to defend it against all enemies.

  • Can you block a incoming call on iPhone 4s

    Can you block a incoming call on iPhone 4s?

    Call blocking is a carrier feature. In the U.S., most major carriers offer blocking features. Give yours a call.

  • SMTP traffic blocked by ISP how do you handle it ?

    I have recently installed the OCFO 10.1.3.07. We were using POP account previously and i had 2 account created in outlook (one using my SMTP server as outgoing mail server and the 2nd using the user ISP SMTP server) to let users send emails from home by letting them select the account in outlook before sending their mail without having them to configure anything.
    I am now stuck here. I tried replicating the same kind of setup using OCFO and a secondary IMAP4 account but it doesnt work. The mail stays in the outbox. The only way to send from their homes is to run the configuration wizard and change the SMTP server adress.
    How do you handle this? am i taking the wrong approach here?
    Thanks for any inputs.

    For anyone who might be interested,
    I have submited a SR to oracle support and the workaround to this issue is to Create a 2nd mail profile and configure the OCFO with a different SMTP server within that profile.

  • Interview Q: 'how did you handle delta'

    Hi BW experts,
    I've been asked this question in the interviews, 'how did you handle delta?'  I know how to create delta.  What is the right answer for this type of question? should I start explaining what/how we did in my previous company?
    I'd appreciate and assign points, if someone can provide the answer for this.
    Thanks,
    Sam

    The answer depends on what you have been talking about, I mean the previous discussion you had with the the interviewer. There are different way of handling delta... example:
    1. The extractor itself handles delta and it send you the before and after image of the changes.
    2. sometimes you load the data direclty to ODS and depending on the key you have in ods, the delta is being handled.
    3. In somecases, you may not need to worry about handling delta at all (full load)... going back to the quesion you asked, that depends on the discussion you had with him/her.
    thanks.
    Wond

  • How to you turn off " Last Call Report "

    how to you turn off " Last Call Report "

    Hi djmartin,
    Welcome to the HP Forums!
    I understand that you are trying to turn off Last Call Report, and I am happy to help you with this issue!
    In order to further assist you, I will need to know:
    The Product/Model Number of your printer. Follow instructions in this link. Finding Your HP Product Model Number.
    Please see this post, Want Good Answers? Ask Good Questions, by @Bob_Headrick, so you can get the most out of these forums.  
    Hope to hear from you, and have a nice day!
    RnRMusicMan
    I work on behalf of HP
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos Thumbs Up" to say “Thanks” for helping!

Maybe you are looking for

  • Lync 2013 crashes on start up.

    My Lync 2013 client is crashing on start up. I already tried to completely remove Office 2013 en re-install it, but that doesn't help. All Windows updates are installed. Running as Administrator also doesn't solve the issue. All other Office programs

  • EP 7.3 Browser compatability issue

    Hi All, We have implemented EP 7.3 SP 04. We could not access the portal in chrome or IE 11. It is giving an error that "Could not open iView. The iView is not compatible with your browser, operating system, or device. Contact your system administrat

  • HT1222 Since downloading the IOS7 I can't access the internet via a wifi.  I would like to remove it, is it possible?  I have the ipad2

    Since downloading the IOS7 I can't access the internet via a wifi.  I would like to remove it, is it possible?  I have the ipad2

  • Spry grow effect glitch.

    I'm trying to do a gallery something similar to: http://labs.adobe.com/technologies/spry/demos/gallery/ but the grow effect on my Spry page is glitchy in the sense that it jumps/shakes on rollover and sometimes it gets stuck and doesn't mouseout. You

  • Installation of CC apps

    I am having trouble installing the apps from creative cloud. I have tried to install Illustrator, Photoshop, InDesign, and Acrobat XI Pro and the only one that worked was the Acrobat XI pro. The others had this message come up. Exit Code: 6 Please se