Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @import UIKit;
- #import <Foundation/Foundation.h>
- #import "AHookAutoHook.h"
- @interface HOOKSpringBoard : NSObject <AutoHook>
- @end
- @implementation HOOKSpringBoard
- + (NSArray *)targetClasses {
- return @[@"SpringBoard"];
- }
- - (void)hook_applicationDidFinishLaunching:(id)fp8 {
- [self original_applicationDidFinishLaunching:fp8];
- UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"Hello!" message:@"I'm an alert that was shown on the SpringBoard by hooking without logos!" delegate:self cancelButtonTitle:@"Dismiss" otherButtonTitles:nil];
- [alert show];
- }
- - (void)original_applicationDidFinishLaunching:(id)fp8 { }
- @end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement