mirror of
https://github.com/arichornlover/uYouEnhanced.git
synced 2026-03-11 17:15:32 +00:00
Disable “YTShareRequestViewController“
This commit is contained in:
parent
309d426b57
commit
36bf653b3d
1 changed files with 2 additions and 0 deletions
|
|
@ -148,12 +148,14 @@ static BOOL showNativeShareSheet(NSString *serializedShareEntity) {
|
|||
|
||||
/* -------------------- iPad Layout -------------------- */
|
||||
|
||||
/*
|
||||
%hook YTShareRequestViewController
|
||||
- (id)initWithService:(id)_service parentResponder:(id)_parentResponder {
|
||||
// disable the default share sheet behavior and force the app to call [YTAccountScopedCommandRouter handleCommand]
|
||||
return NULL;
|
||||
}
|
||||
%end
|
||||
*/
|
||||
|
||||
%hook YTAccountScopedCommandRouter
|
||||
- (BOOL)handleCommand:(id)command entry:(id)_entry fromView:(id)_fromView sender:(id)_sender completionBlock:(id)_completionBlock {
|
||||
|
|
|
|||
Loading…
Reference in a new issue