Jump to content

How to fill in tweak with header?


Go to solution Solved by Rook,

6 posts in this topic

Recommended Posts

Posted

OK, so I saw someone make a hack on Flex and I wondering how to make it into a tweak, this is the 2 "code" i found:
-isBumper
-isSkippable
Can anyone support me on that since Sir. Laxus has been a "helpful guy" helped "SO MUCH" <_<
Thanks 

 

May I?

 

  • Solution
Posted

You need to browse through the tutorial and support section more.

 

%hook something

 

-(BOOL)isBumper {

return TRUE;

}

%end

Posted

@@DiDA Thanks ^_^

 

%hook IMAAdPodInfo

 

-(BOOL) isBumper{

return TRUE;

}

%end

 

 

%hook IMAAd

 

-(BOOL) isSkippable{

return TRUE;

}

%end

 

So I need to put this into the tweak.xm?

Yes but it doesn't mean mean that you should use BOOL for all the functions. Get the method from Flex.

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