Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
アプリ内からサファリ コンテンツのブロックを簡単に無効にする方法を探しています。これを行う方法はありますか?SFContentBlockerManager.reloadContentBlockerWithIdentifierこれに役立ちますか?
SFContentBlockerManager.reloadContentBlockerWithIdentifier
iOS9 Content Blocker の有効化/無効化はユーザー設定であるため、内部にデータを表示している場合はSFSafariViewController不可能です。私の知る限り、コンテンツブロッカーは影響しませんUIWebView。
SFSafariViewController
UIWebView
ベータ版reloadContentBlockerWithIdentifierではシミュレーターで動作しましたが、実際のデバイスでは動作しませんでした。
reloadContentBlockerWithIdentifier