How to detect when user presses sleep/wake button

Discussion in 'iOS Programming' started by tmeehan, Nov 6, 2009.

  1. macrumors newbie

    Feb 25, 2009
    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


    Jul 23, 2002
    Fuquay Varina, NC

Share This Page