ios - iOS9 Safari content blocker extension not invoked -


i'm playing xcode7 beta, trying test shiny new "content blocker extension". example class adopting same nsextensionrequesthandling protocol (already known) sharing extension. essential difference sharing extension class plain nsobject, not *viewcontroller subclass because, know, blocker extension isn't supposed showing ui feedback. that's understanding @ least. anyway crucial method beginrequestwithextensioncontext supposed feed blocker declaration json extension point, not invoked. extension have truepredicate nsextensionactivationrule , safari acknowledge existence of host app in new safari config "content blockers". still no cigar.

does know if it's supposed working in beta or press release?

and, oh, while we're @ it, there any documentation of declarative json format or it's google-fu failing me? :)

how know extension isn't getting invoked?

i built quick test app , did simple nslog() beginrequestwithextensioncontext method , getting called when extension switched on.

also, fwiw, there's +[sfcontentblockermanager reloadcontentblockerwithidentifier:completionhandler:] lets trigger update main app, @ will.


Comments

Popular posts from this blog

javascript - gulp-nodemon - nodejs restart after file change - Error: listen EADDRINUSE events.js:85 -

Fatal Python error: Py_Initialize: unable to load the file system codec. ImportError: No module named 'encodings' -

javascript - oscilloscope of speaker input stops rendering after a few seconds -