如何限制上UIWebView的成人内容? [英] How to restrict adult content on UIWebview?

查看:161
本文介绍了如何限制上UIWebView的成人内容?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我工作的这是专门为孩子设计的应用程序。所以,我们是通过为给孩子们一些搜索选项谷歌搜索引擎并使其确信搜索应该是安全的,我们正在做加入的&放大器;安全= url中的激活

这是工作的罚款,并在搜索内容restricted.Now用户进入谷歌在其他搜索引擎说并打开它的UIWebView 。所以,像谷歌这也制约了成人内容,但要求年龄limit.If孩子的许可,同意,他的 18岁以上年龄,然后他就可以使用Bing浏览成人内容。

我想要的应用程序以这样一种方式,它不应该表现出对谷歌搜索成人内容的UIWebView

我有以下的疑问。


  1. 我们将如何验证的UIWebView 的网址加载在 shouldStartLoadWithRequest 是成年人website.I尝试更改URL (通过加入放大器;安全=激活每当用户负载后续的UIWebView页)但它被赋予的只读属性,我们可以'T改变it.So反正是有控制呢?


  2. 我应该让成人网站的列表,在我的应用程序,并检查每一个网址时,在 shouldStartLoadWithRequest 加载时间。


  3. 有没有限制像冰不要问孩子年龄有关许可搜索引擎的任何可能的方式。



解决方案

您可以使用微软的项目牛津识别成人图片。也许这可以帮助...

https://www.projectoxford.ai/demo/visions#Analysis

I am working on an app which is specifically designed for kids.So we are giving some search option for the kids through google search engine and making it sure that search should be safe which we are doing by adding &safe=activate in the url.

This is working fine and the search content is restricted.Now user enters another search engine in google say bing and open it on UIWebview. So like google it is also restricting the adult content but asking permission of age limit.If kid agrees that he is 18+ age then he can browse adult content using bing.

I want to make app in such a way that it should never show adult content on google search on UIWebview.

I have the following doubts.

  1. How would we verify the url loading on UIWebview in shouldStartLoadWithRequest is an adult website.I tried to change the url (by adding &safe=activate every time when user loads subsequent UIWebview pages) but it is assigned readonly property and we can't change it.So is there anyway to control there?

  2. Should I make a list of adult websites in my app and check every time when url is loaded in shouldStartLoadWithRequest.

  3. Is there any possible way to restrict search engines like bing not to ask kid about age permission.

解决方案

You can use microsofts project oxford to identify adult images. Maybe that could help...

https://www.projectoxford.ai/demo/visions#Analysis

这篇关于如何限制上UIWebView的成人内容?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆