Opening Home Screen Everytime

Discussion in 'iPhone' started by sakthivadivel.a, Feb 27, 2012.

  1. sakthivadivel.a macrumors newbie

    Joined:
    Oct 31, 2011
    Location:
    chennai - -India
    #1
    Hi All,

    My application having sequence of screens, up to four screen continuously, for any reason if i press home button of my iPhone, the application closes and when i am opening the application it resumes the same screen where it closed.

    I don't want that, i want to open the home screen everytime when user open the application. where to change in my appDelegate.m file.

    How to do that, can anyone help me in this regard.


    sakthi.....
     
  2. jvpython macrumors 6502

    Joined:
    Aug 25, 2011
    Location:
    New Zealand
    #2
    This is a programming question, I'm not sure it belongs in this iPhone forum thread. Anyway you need to implement the applicationDidEnterbackground method and run whatever you want in there. You could make the app terminate in this method which would cause I to restart every time. But really i dont recommend it unless really necessary
     

Share This Page