Toggle search
Search
Toggle menu
notifications
Toggle personal menu
Talk:SBIcon: Difference between revisions
Discussion page of SBIcon
Views
Read
View source
View history
associated-pages
Page
Discussion
More actions
Revision as of 03:44, 21 March 2016
(
view source
)
Wanghe826
(
talk
|
contribs
)
(this tweak doesn't work?)
Latest revision as of 12:54, 21 March 2016
(
view source
)
Uroboro
(
talk
|
contribs
)
m
(This isn't a help forum.)
Line 1:
Line 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
Latest revision as of 12:54, 21 March 2016