1. Welcome to the new MacRumors forums. See our announcement and read our FAQ

App for iOS

Discussion in 'iPhone/iPad Programming' started by 100500, Apr 18, 2011.

  1. 100500, Apr 18, 2011
    Last edited: Apr 18, 2011

    macrumors newbie

    #1
    Hi guys.

    I need your help! ))

    but i very bad know English, if say something wrong, sorry! ))

    I create a program for iOS, and i need to assign the action for home button (?).

    How i can do it?

    i need code or API for this.
     
  2. macrumors 6502

    #2
    The physical "home" button on the phone? There isn't anything, really.

    Are you talking about a button you made? If so, just connect it to an IBAction in Interface Builder.

    Sorry if this isn't helpful, but we need more information.
     
  3. 100500, Apr 18, 2011
    Last edited: Apr 18, 2011

    macrumors newbie

    #3

    Thanks, for answer.

    I dont know exactly, what is the name of this button.

    But i think about the only button in the bottom part of the device (iPad, Ihpone) (the round button with the square ))) )

    And in your answer, i see that it is impossible?

    Really? do not just intercept the request when you click on this button?



    I want that in the running application, when you click on this button, user (children) didn't leave app, and app asked for the password. Or simply not given a set time to leave this application. (i hope, i didn't make a lot of mistakes ))) )
     
  4. macrumors 65816

    jnoxx

    #4
    This is impossible on non-jailbroken devices :)
    private API from Apple.
    Sorry!
     
  5. macrumors newbie

    #5

    thanks for the reply ))) i'll think.
     

Share This Page