9.3.3 hook -(void)applicationDidFinishLaunching:(id)application

9.3.3 hook -(void)applicationDidFinishLaunching:(id)application 不 执行

%hook SpringBoard

  • (void) applicationDidFinishLaunching:(id)application
    {
    NSLog(@“hello ios”);
    %orig;
    UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@“hello world” message:@“cat dog pig.” delegate:self cancelButtonTitle:@“OK” otherButtonTitles:nil];
    [alert show];
    [alert release];
    }
    %end

怎么解决?