What method should I hook to register a home button press? SpringBoard's menuButtonUp
isn't working for me. All of the answers I have seen on this site so far are not helpful since this would be using the private API.
Asked
Active
Viewed 739 times
4

twodayslate
- 2,803
- 3
- 27
- 43
-
I'm pretty sure you can't do this without using a private API. – Rok Jarc Jan 27 '14 at 12:37
-
You have no direct way of detecting it. However, you can track it by the state change in the appDelegate.. – GenieWanted Jan 27 '14 at 12:38
-
Using the private APIs is fine. Please read the question – twodayslate Jan 27 '14 at 12:42
1 Answers
2
Springboard's _menuButtonUp
for iOS7 and menuButtonUp
for iOS6

twodayslate
- 2,803
- 3
- 27
- 43
-
-
It is a Springboard method. `[%c(SpringBoard) menuButtonUp];` might work. – twodayslate Mar 01 '14 at 08:02
-
-
-
1