Jump to content

28 posts in this topic

Recommended Posts

  • Replies 27
  • Created
  • Last Reply

Top Posters In This Topic

Posted

Post your tweak.xm here

%hook SBIconContoller

 

-(void)iconTapped:(id)fp8(

 

 

%orig;

 

UIAlertView *alert = [[uIAlertView alloc]initWithTitle:@"Welcome to this app!" message:@"⚡Enjoy Deeshan⚡" delegate:self cancelButtonTitle:@"I Will " otherButtonTitles:@"nil];

 

[alert show];

 

 

 

%end

Posted

%hook SBIconContoller

-(void)iconTapped:(id)fp8(

%orig;

UIAlertView *alert = [[uIAlertView alloc]initWithTitle:@"Welcome to this app!" message:@"⚡Enjoy Deeshan⚡" delegate:self cancelButtonTitle:@"I Will " otherButtonTitles:@"nil];

[alert show];

%end

You're missing so many things... did you read any tutorials at all?

Posted

I was doing a tut from a youtube vid. The tweak was that it would show a alert when u opened up any video. Here it is:https://youtu.be/HbCI-XppVXg

Look at how he wrote his code and how you wrote yours. Why are you asking for help when you're copying his code and didn't copy it right? O.o

Posted

Look at how he wrote his code and how you wrote yours. Why are you asking for help when you're copying his code and didn't copy it right? O.o

%hook SBIconController

 

-(void)iconTapped:(id)fp8(

 

 

%orig;

 

UIAlertView *alert = [[uIAlertView alloc]initWithTitle:@"Welcome to this app!" message:@"⚡️I hope you enjoy ⚡️" delegate:self cancelButtonTitle:@"I will!" otherButtonTitles:@"I won't"

 

[alert show];

 

}

 

%end

 

 

 

 

------------------------

 

Still the same errors

Posted

try this

 

%hook SBIconController

 

-(void)iconTapped:(id)fp8{

 

 

%orig;

 

UIAlertView *alert = [[uIAlertView alloc]initWithTitle:@"Welcome to this app!" message:@"⚡️I hope you enjoy ⚡️" delegate:self cancelButtonTitle:@"I will!" otherButtonTitles:@"I won't"

 

[alert show];

 

}

 

%end

Posted

try this

%hook SBIconController

-(void)iconTapped:(id)fp8{

%orig;

UIAlertView *alert = [[uIAlertView alloc]initWithTitle:@"Welcome to this app!" message:@"⚡️I hope you enjoy ⚡️" delegate:self cancelButtonTitle:@"I will!" otherButtonTitles:@"I won't"

[alert show];

}

%end

 

 

Nope:

 

https://postimg.org/image/ebzhcf6p1/

Posted (edited)
Lol, this should work :

 

%hook SBIconController

 

-(void)iconTapped:(id)fp8{

 

 

%orig;

 

UIAlertView *alert = [[uIAlertView alloc]initWithTitle:@"Welcome to this app!" message:@"⚡️I hope you enjoy ⚡️" delegate:self cancelButtonTitle:@"I will!" otherButtonTitles:@"I won't", nil];

 

[alert show];

 

}

 

%end

Updated by Crypto

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