Difference between revisions of "Talk:SBIcon"

From iPhone Development Wiki
Jump to: navigation, search
(this tweak doesn't work?)
m (This isn't a help forum.)
Line 1: Line 1:
#include <UIKit/UIKit.h>
@interface SBApplicationIcon
- (void) launchFormLocation:(int)arg;
- (id) displayName;
%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

Latest revision as of 12:54, 21 March 2016