Skip to content
Guest Big Announcement

Featured Replies

Hello everyone, I was wondering if anyone could help me solve this problem. I'm tryint to make a button to kill kik when the button is tapped, but since ios 9 the button isn't working. I've looked around and found nothing. Hopfully someone can help. Here is the code. 

[mutableNewArr addObject:[[[%c(SettingsOptionButton) alloc] initWithTitle:@"Click to close Kik and apply settings" iconImage:restart executeOnTap:^(void){ system("killall -9 Kik"); }] autorelease]];

Thanks for the help!

Solved by K3NNNY

Where the hook to the appdelegate?

%hook AppDelegate
-(void)applicationDidBecomeActive:(id)argument {

[mutableNewArr addObject:[[[%c(SettingsOptionButton) alloc] initWithTitle:@"Click to close Kik and apply settings" iconImage:restart executeOnTap:^(void){ system("killall -9 Kik"); }] autorelease]];
}
%end
  • Author

Where the hook to the appdelegate?

%hook AppDelegate
-(void)applicationDidBecomeActive:(id)argument {

[mutableNewArr addObject:[[[%c(SettingsOptionButton) alloc] initWithTitle:@"Click to close Kik and apply settings" iconImage:restart executeOnTap:^(void){ system("killall -9 Kik"); }] autorelease]];
}
%end

It seems to be hooked farther down for the greeting message and other notification alerts.

It seems to be hooked farther down for the greeting message and other notification alerts.

 

is it to respring?

  • Author

is it to respring?

No, it's just for the first time they open kik with the tweak installed, they will see a UIAlert saying thank you for installing.

Updated by EricLegend

Perfect thanks, I'll look in the morning. Thank you for the help.

No problem, click on "solved problem" so it could help with others

Create an account or sign in to comment

Featured Content

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.