Jump to content

UIAlert Wont come Up and Tweak Dont Work


Go to solution Solved by DragonRising66,

6 posts in this topic

Recommended Posts

Posted (edited)

So now after the AppDelegate Question is Solved i stand in front of a new Problem


I Compiled my Tweak with Theos and everything works fine i already Edited The Make file to Work with the UIKit


 


so after i installed The .deb file and after Respring the PopUp and The Cheats Won't work Proberly


any idea why Do i need to organise The Specific files in Folders before i can compile the tweak ?


 


 


Greeting 


DragonRising66 :)


Updated by DragonRising66
Posted

Won't work properly or won't work at all?

 

Does the popup show up?

Posted

Won't work properly or won't work at all?

 

Does the popup show up?

that even wont show up it did the first time but then nothing is working and i used the code that the popup comes up every time i start the app hmp :c

Posted (edited)

Your tweak.xm must be wrong?

 Wait here is the code i used 

 

 

%hook User 

-(void)setPoints:(int)argument {
 argument = 100000;
 }
 
 -(int)points {
 return 100000;
 }
 
 %end
 
 %hook ADCV4VCCurrency
 -(int)balance {
 return 100000;
 }
 
 %end
 
%hook AppDelegate
-(void)applicationDidBecomeActive:(id)argument {
UIAlertView *alert = [[uIAlertView alloc] initWithTitle:@"Test Title" message:@"Test Message" delegate:nil cancelButtonTitle:@"Close Test Pop-Up"otherButtonTitles:nil];
[alert show];
[alert release];
%orig();
}
 
%end
 

would be nice if u can take a look over it :) i think the first Method is wrong :/ but even when i only tryd the PopUp it wont come up 

Updated by DragonRising66

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