Jump to content

Popup Credit Error (Help)


Go to solution Solved by Rook,

2 posts in this topic

Recommended Posts

Posted

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

  • Solution
Posted (edited)

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

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...

Important Information

We would like to place cookies on your device to help make this website better. The website cannot give you the best user experience without cookies. You can accept or decline our cookies. You may also adjust your cookie settings. Privacy Policy - Guidelines