Restart an app from "scratch"

Hello
I'm building an app for iPhone on iOS 5.0 and when I quit the app (with home button...) and I restart the app, I would like it to restart from scratch and not to restart from where it was when it quit.
Thank you.

Add this to the app plist:
UIApplicationExitsOnSuspend (Boolean - iOS) specifies that the application should be terminated rather than moved to the background when it is quit. Applications linked against iOS SDK 4.0 or later can include this key and set its value to YES to prevent being automatically opted-in to background execution and application suspension. When the value of this key is YES, the application is terminated and purged from memory instead of moved to the background. If this key is not present, or is set to NO, the application moves to the background as usual.
This key is supported in iOS 4.0 and later.

Similar Messages

  • Restarting Time Machine from scratch?

    If I want to restart Time Machine from scratch after a massive rearrangement of my system and external hard disks which are being backed up, is it just a matter of removing the Backups.backupdb and private folders from the Time Machine disk and generating a new backup and going on from there?
    Thanks,
    doug

    Doug Lerner2 wrote:
    But it's only a problem if it's a problem, right?
    Is there something technically a problem with what I want to do?
    That's what I'd like to find out. If all the Time Machine information is in those two folders, then is wiping them the same as restarting Time Machine from scratch on a newly formatted disk?
    you'll have GREAT difficulty emptying trash if you delete those folders from finder. I strongly recommend against it. first they contain millions of files. emptying trash with that many files will take a LONG time under the best of circumstances. worse, TM backups are protected by some nasty ACLs and some items are locked. they'll give you a lot of grief when you try to empty trash.
    this has been tried by many people before you as this is a natural enough thing to try to do.
    that's why it's best to just erase the whole TM volume using disk utility.
    Does anyone happen to know?
    Thanks,
    doug

  • How do I close an app so that when I restart it, it doesn't just come back with the last screen, i.e. I want to be able to restart the app from new, not a follow-on

    How do I close an app/session, such that when I restart it, it doesn't come backat where I left off, e.g. Safari, I want to restart with a new screen, not the one I previously closed from
    Thanks

    Depending on how the app is programmed, generally to force close an app, double tap the home button. You'll see the app icons and previews on the screen. Scroll sideways if needed to bring up the app in question. Flick the preview for that app up and off the screen. then single tap the home button or the home page preview to exit the mode
    The app should then reboot from closed instead of just reopening

  • Had to restart my computer from scratch...itunes reloaded my purchased items, but not several hundred that I downloaded from CDs.  I have these on my iPod.  How do I get them on my main library on the computer?

    Have my full iPod library on my iPod.  Only have my purchased items on my main library on my computer due to a crash.  How do I get my full library from my iPod on to main music library on iTunes?

    See this older post from another forum member Zevoneer covering the different methods available for copying content from your iPod to your Mac.
    https://discussions.apple.com/thread/2452022?start=0&tstart=0
    You can also use the new iCloud feature to redownload any past music purchases at no cost.  See this article for more details.
    http://support.apple.com/kb/ht2519
    B-rock

  • Install from scratch 3 times Mavericks but cannot used my restore it will just start for ever. After first install and restore mail and link between folder and files didn't work anymore. Now cant see my disk in finder. Help?

    First install through regular update : never finishing the start after automatic restart
    First install from scratch: erase through disk utility, install OS X Mavericks (using Recover mode), restart ok - Used Migration Assistant to restore applications and data only - Mail crashed each 5 inutes and asked constantly for password of my 2 accounts, links between folders and files not OK and attaching a doc was complicated. I downloaded the update same problems
    Second install from scratch: erase through disk utility, install OS X Mavericks (using Recover mode), restart ok - Used Migration Assistant to restore applications and data only and settings : never finishing the start after automatic restart
    Third install from scratch: erase through disk utility, install OS X Mavericks (using Recover mode), restart ok - But no disk available in Finder
    So far no Mac since 3 days ...
    Any help is welcome

    Still struggling to understand why copying the entire root dir to a disk image and then restoring from that image did not, as expected, yield an identical system, and why I even had to reinstall after doing this.
    Because there is a lot more going on under the hood than merely copying files.
    The only way to do what you want is to use cloning software like Carbon Copy Cloner.
    My  advice is to rescue your personal files to a regular non-TimeMachine  external drive, Zero erase the ENTIRE drive and install OS X fresh and  update, then your programs from original sources and files from backup.
    Then, make a bootable clone and you can copy that as many times as you want and each one is bootable.
    Most commonly used backup methods
    How to erase and install Snow Leopard 10.6

  • Start backups from scratch

    I've got a Time Capsule and want to start a new full backup of my Mac keeping a copy of my previous series. Since it seems that it's not possible to partition a TC an alternative solution AFAIU could be renaming the corresponding sparsebundle file.
    The steps I would do are:
    1. Stop TM.
    2. Change TM's drive to None.
    3. In Finder, rename MacXXXmacaddressXXX.sparsebundle to, say, ....sparsebundleOLD
    4. Restart TM.
    5. Point TM's drive to TC.
    (or should be step 5 before step 4?)
    Later on, when some backup cycles are performed I could delete the old sparsebundle, and if something goes wrong with the full backup backup I could fall back (n.p.i.) to the old one.
    Am I on track or have missed something important? Is it a safe procedure? (*)
    I don't mind to experiment a bit, but on backups I want to double check first.
    Thanks in advance,
    Hernan.
    (*) You don't need to add a disclaimer, it's implicit.
    (**) ENVIRONMENT: MacBook 13.3 Unibody. SL 10.6.1. Time Capsule from June 2009.

    Update:
    It's possible to reuse an old .sparsebundle file so long you rename it to the same name TM is using in your current backup. In this case beware of disk space as TM will try to bring your old backup file up today. As expected, you'll find a "time hole" during the days the backup wasn't active. Nevertheless, you can navigate through it with TM's user interface without hassles.
    In summary:
    . You don't have to worry that one day TM will fill up the Time Capsule. Follow the previous recipe and it will restart over your backup procedures with a clean init.
    . Later on, when you'll feel confident with your new backups, you can drop the old renamed .sparsebundle file if you want to free disk space, but you may keep it too. Swap their names, and you'll be able to browse your old backup with TM's Star Wars user interface.
    . Or just keep the ".sparsebundle" extension -but with another base name to avoid any conflict with your current backup-, mount it and browse the virtual disk within the Finder.
    . I don't know if the sparsebundle file is burnable on a DVD.
    . If you restart the backups over I recommend to connect your Mac through a Ethernet cable, as after step 5 TM will do a full backup.
    . I *highly recommend* that after you upgraded your OS and all your *third party software* to SL, restart your backup from scratch. You'll be able to save a lot of space!
    Regards,
    -Hernán.
    Disclamer: Sorry my English; I'm not liable if you lose something; etc. etc.

  • TS1702 I am unable to download updates directly to iPad 2 , now trying to reinstall one from scratch but download keeps stopping and the restarting. Can you offer any advice, this happening when trying to download to laptop in itunes as well. Have tried t

    I am unable to download updates directly to iPad 2 , now trying to reinstall one from scratch but download keeps stopping and the restarting. Can you offer any advice, this happening when trying to download to laptop in itunes as well. Have tried to download on different broadband lines without success. Is this an apple problem due to high demand or something else?
    Everything has worked well until about a month ago, up to date iOS 5 and itunes installed. Tried resetting numerous times, turned off all apps still no joy. Ipad was great but now feeling buying one was mistake. Also recent music purchase was useless and tunes would not play correctly.

    Since this is happening on the iPad and the computer, it might be worth a try to reboot your router - unplug it from power for about 30 seconds and then plug it in again.
    Quit iTunes on the PC, reboot it and the iPad as well
    Reboot the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons

  • How to delete the saved score in a game downloaded from app store for my macbook and restart the game from the beginning ? please help

    HOW to delete the saved score in a game downloaded from the app store to restart the game from the begining with fresh scores.
    i am unable to do so. please help

    In system preferences, create a new account again, using the short name of the "deleted" account. You may be prompted to re-use the old home folder. Log out and log in to test it worked. Then log in as your new admin, and do the delete process again. Don't choose to securely delete this time - just a regular delete.
    When you have time to spare, go to Disk Utility, and use the Erase tab to securely erase free space on the drive. This will accomplish the same thing that your originally tried to do. Use the fastest method - anything more secure is a waste of time. You may need to run it overnight - it can take several hours.
    Matt

  • TS1702 When I try and access March 2013 in Calendar the app simply closes.  This happens if I click March in the month tape at bottom of screen or if I try swiping from February or April. Is there a fix, I've tried restarting the app and the iPad to no af

    When I try and access March 2013 in Calendar the app simply closes.  This happens if I click March in the month tape at bottom of screen or if I try swiping from February or April. Is there a fix, I've tried restarting the app and the iPad to no affect

    See this discussion with the exact same issue:
    https://discussions.apple.com/thread/4690697?tstart=0

  • How do I restart Time Machine back-up from scratch?

    How do I restart Time Machine back-up from scratch?  I have a MacBook Air that was my wife's - now given to my daughter for school.  My wife never used Time Machine to back up (she simply copied files to an external drive), so before clearing her files off the Mac HD, I tried using Time Machine for the first time with an external HD.  However, the Time Machine back up repeatedly failed after about 2GB of 28GB of files. I manually copied my wife's 28GB of files to another external HD and deleted all the files off the Mac HD. I then reformatted the external Time Machine drive. But when I try to use Time Machine to back up the MacBook Air as it is now with my daughter's files on the Mac HD to the external TM drive, Time Machine acts as if the 28GB of my wife's deleted files are still on the Mac HD and fails back-up after counting to about 2GB, even though there aren't even 2GB of files on the Mac HD now and nothing on the external TM drive. I don't need to save any back-ups of how the MacBook used to be - I just need to start from scratch with how the computer is now.  Can anyone please tell me how to get Time Machine to think the MacBook is a brand new computer and act as if it's a first time ever back up?  I tried updating to Yosemite, and tried renaming the computer in System Preferences>Sharing, plus (as noted above) deleting all the old files off the Mac HD and reformatting the external Time Machine drive - none of that worked.  All I can do at the moment is manually copy my daughter's files to an external HD - very frustrating.

    Hmmm.. Office is not hard to restore.
    You have something major wrong (Yosemite being the primary one).
    Do a verify of the source drive.. to do that you will need to boot to the recovery.. and run the disk utility from there.. it sounds like your main disk is corrupted.
    Once that is complete, delete the current setup of TM and try again.. use the widget to find out why it is failing..
    See Troubleshooting.
    A1, A4 and A5 for further info.
    http://pondini.org/TM/Troubleshooting.html
    Good luck with it..
    I would also download carbon copy cloner.. it is $40, but you can use it free for a time.. forget if a week or a month??.. to try out.. and make a proper backup before you start.. CCC is far more reliable than TM.. and in fact you might decide to simply forget about TM if it works and pays the $40.. because you can produce a bootable clone on the external drive which is a heck of a lot easier to use than TM.

  • My iphone 3gs have a problom because i tryed to downloud apps from my computer without apple id so i tryed update it to ios5 when i made an apple id and the phone restarted dureing the update and i restored it but now i can not activate it why is that ???

    my iphone 3gs have a problom because i tryed to downloud apps from my computer with out apple id so some times it restart and the spring board always get crashed so now affter i made an apple id  i tryed to update it to ios5 but the phone restarted  in the middle of the update so restored the files from my computer but when i tryed to activeate the phone from wi fi it said activeate server is now unavilable and when i tryed to activeate it from itunes it told me there is no sim card why is that

    My phone is an iPhone 3gs too, and last night actually it said the same thing, "No Sim Card" and my friend and I started panicking but I did what I call a "Forced Reboot" where you hold down the Home and Power buttons until you see the apple logo. DO NOT RELEASE UNTIL THEN otherwise you are just shutting it down. So, I did that and it worked again....

  • My iphone 4s crashes too much when i download and app from store and open it its freeze or crash and restart the phone i think i am having big problem with this device i restored it to factory settings and no waay!

    My iphone 4s crashes too much when i download and app from store and open it its freeze or crash and restart the phone i think i am having big problem with this device i restored it to factory settings and no waay!

    I think many of us need a Defense Against the Podcasts App professor.
    Have you looked at this Apple support page?
    http://support.apple.com/kb/HT6190?viewlocale=en_US&locale=en_US

  • I have purchased an app from the app store and cannot seem to download it.  I have tried restarting, and checked my connection but this seems to have no effect.  I have also downloaded other (free) applications since then and some of these download

    I have purchased an app from the app store and cannot seem to download it, the download statrs and then rapidly cuts out, it will not complete and seems to repeatedly go over the same few Mb.  I have previously downloaded large files and not had a problem with them.
    I have tried restarting, checked my hard disk (and repaired a sector of the disk) and checked my connection but this seems to have no effect.  I have also disabled virus protection and my firewall to see if this has an effect.  I have also downloaded other (free) applications to test it since then and some of these download but not the larger ones.  Has anybody else encountered this?  Does anyone know how to solve it?

    Can you download large files from other places apart from the App store, wondering if it is the App store or your internet connection.
    If it just the app store check this url http://www.apple.com/support/mac/app-store/contact/

  • If I cannot "go back" when using a website I cannot close that specific tab and have to close them all. I have had to restart from scratch several times today . Having a choice of closing the last tab only would be very useful. Why can't I?

    After I browsed a page in a websit, I could not close that page by using the X in the rt. hand top corner as when I did this Firefox told me that it would close all tabs. It was the only way out so I closed them and started from scratch.

    mratlasdreamz,
    which app are you running when you get the annoying chime as you try to correct a typo?
    If you’re sure that you have a 2.4 GHz Core 2 Duo CPU and 2 GB of 667 MHz RAM, then what you have is not a MacBook Pro, but an Early 2008 MacBook (did it really cost £2000 then?) — and with that model of MacBook, you could upgrade to Lion. Whether you stay with Snow Leopard or upgrade to Lion, you might find that upgrading your RAM from 2 GB to 4 GB could be helpful.
    You can confirm which model you have by selecting About This Mac on the Apple menu, clicking the “More Info…” button, then clicking on the “System Report…” button, and looking at the “Model Identifier” value in the Hardware Overview section. If you have an Early 2008 MacBook, then the model identifier will say “MacBook4,1”. If it gives a different model identifier, then include that model identifier in your reply, and we can determine which model you have, and which CPU and speed of RAM it uses.
    Note that Firefox 26 still supports Snow Leopard, and that Mozilla makes no CPU recommendations for Firefox on OS X other than “an Intel x86 processor”.

  • How do I stop apps from relaunching when restarting my macbook?

    How do I stop apps from relaunching when restarting my macbook?

    Adding to the list of quitting app's before shutting down and the reopen app's options above, go to: Apple > System Preferences > Users & Groups > Login Items and remove any unwanted App's from the list that are set to open at login.

Maybe you are looking for