Hello,
I hooked Launch but i didnt get displayName. Please help me.
Mycode is
I hooked Launch but i didnt get displayName. Please help me.
Mycode is
Code:
#import <SpringBoard/SpringBoard.h>
%hook SBApplicationIcon
-(void)launch
{
NSString *app= [self displayName];
NSString *message = [NSString stringWithFormat:@"The app %@ has been launched", app, nil];
UIAlertView *alert = [[UIAlertView alloc] initWithTitle:sword message:message delegate:self cancelButtonTitle:sword otherButtonTitles:nil];
[alert show];
[alert release];
%orig;
}
%end