Skip to content
Guest Big Announcement

Popup Credit Error (Help)

Featured Replies

sooo. yes i added credit popup at my code in tweak.xm but i get Error :(

 

My Code

%hook AppNameAppDelegate

-(void)applicationDidBecomeActive(id)application {
UIAlertView *alert = [[uIAlertView alloc] initWithTitle:Credit;message:Something: delegate:nil cancelButtonTitle:Thanks Button TitleName"otherButtonTitles:nil];
[alert show];
[alert release];
%orig;
}
%end

 

please fix this code :(

thx

Solved by Rook

  • Solution

Example: http://pastebin.com/W7TEk09e

 

You need to read more tutorials: http://iosgods.com/topic/831-tutorial-how-to-hack-using-mobile-substrate-method-hooking/ (read near the end)

 

Make sure you have added myhack_FRAMEWORKS = UIKit in the makefile.

Updated by DiDA

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.