iOS 逆向之网易云音乐去除开屏广告

%hook NMAdvertisementManager

- (void)fetchStartupAdvertisement {
    [[%c(NMAdvertisementManager) defaultManager] performSelector:@selector(clearCachedResources)];
    [[%c(NMAdvertisementManager) defaultManager] performSelector:@selector(removeOldAdItems)];
}
%end

亲测可用.
来源:
https://blog.nswebfrog.com/2018/01/28/reverse-neteasemusic/

你可能感兴趣的:(iOS 逆向之网易云音乐去除开屏广告)