Skip to content
Guest Big Announcement

how to make make an argument "pass-through"

Featured Replies

so im trying to add something to my tweak and if i put it in flex it works fine, but if i try to add it to my tweak it doesnt effect anything, this is what im trying to convert.

 

 

so what i have is

http://imgur.com/VT1rO2S

 

%hook ComposeScreenController

 

- (void)hideFilteredUsers:(id)

{

  return %orig;

}

 

%end

 

but that seems to do nothing?

 

 

Isn't pass-through like not modifying the method at all?

 

 

%hook ComposeScreenController
 
- (void)hideFilteredUsers:(id)fp8 {
  %orig(fp8);
} 
%end
Unsure if it works but try that :)

What a waste of 8 byte -_- this will run the default actions

 

Here you go

%hook ComposeScreenController
- (void)hideFilteredUsers:(id) {
}
%end

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.