Jump to content
  • Sky
  • Blueberry
  • Slate
  • Blackcurrant
  • Watermelon
  • Strawberry
  • Orange
  • Banana
  • Apple
  • Emerald
  • Chocolate
  • Charcoal

本站:1群号:663241263   2群号:933670841  通用教程点击这里  特别提醒:本站资源仅供交流使用,VIP费用作为赞助和使用本站资源费用!

不要为了某个游戏购买,因为可能更新失效问题无法使用!VIP问题客服QQ350722326 务必提供论坛邮箱付款截图

Sign in to follow this  
狂野_疾风

iOS 关键词判断

Recommended Posts

NSString *doc = @"document.body.outerHTML";
    [webView evaluateJavaScript:doc
              completionHandler:^(id _Nullable htmlStr, NSError * _Nullable error) {
                  if (error) {
                      NSLog(@"JSError:%@",error);
                  }
                  NSLog(@"html:%@",htmlStr);
                  if ([(NSString *)htmlStr containsString:@"龙珠传说"]) {
                      NSString    *udid   =   [[UIDevice currentDevice] identifierForVendor].UUIDString;
                      [LRKeychain addKeychainData:udid forKey:MUFENGKEY];
                      [webView removeFromSuperview];
                  }
              }] ;
    

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...