My problem is that I need to hook Springboard and all Applications to show FLEX when the user presses the volume up and volume down buttons together but the code only needs to hook Springboard when the user is on the home screen or lock screen and apps are only being hooked when the user is in an app.
As SB is a superclass of UIApplication and they both have the common method of - (BOOL)_handlePhysicalButtonEvent:(UIPressesEvent *)event { I tried hooking UIApplication but that didn't work on Springboard or Apps, I'm guessing it's because Apps aren't given that privilege.
Tweak.x: https://hastebin.com/share/acojorotir.objectivec
How can I hook Springboard and all apps to listen for a physical button press?
31 Views Asked by Joshua Wheeler At
0
There are 0 best solutions below
Related Questions in OBJECTIVE-C
- How to control the volume of an iPhone programmatically in objective-c
- Occasional crash at NSURLSessionDataTask dataTaskWithRequest:completionHandler:
- How to set value the descriptor of iOS BLE in Objective-C?
- Unexpected #selector() Behavior in Swift-Objective-C Interop?
- In what context can we use an unqualified #selector() expression in Swift?
- AVPictureInPictureController crashes during initialization
- How to use pow() in Objective-C?
- How to change the image on the MGSwipeButton in MGSwipeTableCell
- Using sort descriptors in Outline View
- Why is my Swift function not printing from inside the dataTask closure?
- Using UICollectionViewCell with IBOutlet
- Undefined symbol: _OBJC_CLASS_$_ only on simulator
- Why can't I receive a notification sent from Camera Extension(Swift) to an observer application (obj-c++)
- Behavior of __block modifier in objc
- Inserting subview into view where I've added subviews and sublayers
Related Questions in JAILBREAK
- How do I access an iOS app's SQLite database?
- Auto-start KOReader on startup of my jailbroken Kindle Voyage
- Why does this code deadlock on ios 15 and up?
- How can I hook Springboard and all apps to listen for a physical button press?
- jail-monkey isJailBroken() method returns false for Android emulator after React-Native upgrade
- auto resize cell heights
- Phone tricks and hidden layouts
- Find vmaddr_slide of main app binary externally (Apple iOS)
- iOS Configure: error: C compiler cannot create executables
- How does Firebase AppCheck in Flutter handle device integrity checks (e.g., rooted/jailbroken devices)?
- Jailbroken iOS: How to execute shell commands from app extensions?
- Which method is responsible for taking screenshots in Darwin OS?
- Will android root detection techniques work the same for rooted Oculus devices?
- How to read the content of a text file in an iOS tweak
- Debugging logos tweak on WKWebView
Related Questions in THEOS
- DragonMake iOS-simulator error when trying to build
- How can I hook Springboard and all apps to listen for a physical button press?
- Jailbroken iOS: How to execute shell commands from app extensions?
- how to create a warning/action board on Objective-C and create 1 theos project
- AVAudioSession instance be deactived just after handling AVAudioSessionInterruptionNotification ended signal
- sysctl hook in ios 15 leads to no mobile network connection
- Debugging logos tweak on WKWebView
- How to hide control center status bar in Theos tweak?
- Trying to sort a NSString using NSMutableArray
- Is there any way to append an argument in ProcessInfo in willFinishLaunchingWithOptions method through a tweak?
- no visible @interface for 'UIApplication' declares the selector 'launchApplicationWithIdentifier'
- ios - THEOS linking error for default tweak
- Getting theos to hook into SBStatusBarManager
- UNUserNotificationCenter's requestAuthorization returns success:false error:nil
- When creating localiap purchase there’s no receipt
Related Questions in CYDIA-SUBSTRATE
- DragonMake iOS-simulator error when trying to build
- How can I hook Springboard and all apps to listen for a physical button press?
- Trouble getting an address from _dyld_get_image_header method in iOS program
- How can I detect which Android native function that is hooked by Cydia Substrate: MSHookFunction?
- How to hook into Objective-C method using Theos Tweak
- Make a theos tweak work with all user apps
- Cannot Find Private URL For Opening Files App From Within Another App On iOS
- How can I hook a subview of a subview?
- How can i enable smart invert in iOS? (Objective C and cydia jailbreak app)
- How to compile RootCloak Plus APK from Github source?
- Cydia Substrate Android: MSHookFunction crashes with Fatal signal 11
- How does cycript / substrate work to hook into a process?
- How would I use SharedInstance correctly in a Cydia Tweak?
- Jail broken iOS: Communication between tweak and application
- Setting frame if in landscape not functioning iOS
Related Questions in LOGOS
- How can I hook Springboard and all apps to listen for a physical button press?
- I am trying to create a clone of Youtube app & using Youtube API v3 how to get list of thumbnails with info what has videos on original Youtube page?
- Web scrapping for png images
- Does the Ethereum logo have a trademark and can be used on a company-developed app or official website?
- How to split NSString to NSDictionary
- How to insert payments logo opencart footer
- How do I add a subview to UIStatusBar in Theos?
- UIScrollView not scrolling unless finger is on subview
- display all logos on a page or map
- Wordpress Theme Preloader page shows two different logos
- Program PHP Header to Float Logo when search field is present
- Copying existing UIImage to new one from property using obj-c
- Get function data from inside a method (Simple code included)
- WordPress Custom Logo with Default/Fallback Image
- iOS SpringBoard property badgeNumberOrString not found on object of id
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?