Skip to content

Instantly share code, notes, and snippets.

@Mabdelwanis
Forked from Li-blog/Tweak.xm
Created November 30, 2023 22:09
Show Gist options
  • Save Mabdelwanis/086fe19d7671e5002f46d6906fb632b9 to your computer and use it in GitHub Desktop.
Save Mabdelwanis/086fe19d7671e5002f46d6906fb632b9 to your computer and use it in GitHub Desktop.
#import <UIKit/UIKit.h>
%hook SpringBoard
- (void)applicationDidFinishLaunching: (id)application {
%orig;
UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"Hello World." message:nil delegate:self cancelButtonTitle:@"OK" otherButtonTitles:nil];
[alert show];
[alert release];
}
%end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment