Skip to content
Guest Big Announcement

Trouble hooking WKFullScreenViewController

Featured Replies

I see that Safari plus is hooking WKFullScreenViewController to get the video file but when I try to hook the same method its never getting called am I doing something wrong?

https://github.com/opa334/SafariPlus/blob/3325e7fbcedf643b60b869b806cf6e8aa17751c2/MobileSafari/Hooks/WKFullScreenViewController.xm

 

%hook WKFullScreenViewController
- (void)loadView {
  %orig;

  NSLog(@"LOOKHERE",self);
  %log;

  //getVideoUrl(self.target);
}

%end

 

Archived

This topic is now archived and is closed to further replies.

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.