How to detect when user presses sleep/wake button

Discussion in 'iPhone/iPad Programming' started by tmeehan, Nov 6, 2009.

  1. macrumors newbie

    Joined:
    Feb 25, 2009
    #1
    Does anyone know if there is a way to detect or be notified when the user physically presses the sleep/wake button. I would like to take some power saving steps if I know the user specifically pressed the sleep button as opposed to the idle timer kicking in. Any clues would help tremendously. Thanks.
     
  2. macrumors 603

    jeremy.king

    Joined:
    Jul 23, 2002
    Location:
    Fuquay Varina, NC
    #2

Share This Page