Talk:SBIcon

Discussion page of SBIcon
Revision as of 03:44, 21 March 2016 by Wanghe826 (talk | contribs) (this tweak doesn't work?)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
  1. include <UIKit/UIKit.h>

@interface SBApplicationIcon - (void) launchFormLocation:(int)arg; - (id) displayName; @end


%hook SBApplicationIcon - (void) launchFormLocation:(int)location { NSString *appName = [self displayName]; NSString *message = [NSString stringWithFormat:@"Application launched:%@", appName]; UIAlertView *alert = [[UIAlertView alloc] initWithTitle:appName message:message delegate:nil cancelButtonTitle:@"Yes" otherButtonTitles:@"No", nil]; [alert show]; [alert release]; }

- (void) launch { NSLog(@"Fuccck"); } %end