Restricting (Age-Protecting) a UIWebView to avoid 17+ user rating

馋奶兔 提交于 2019-12-11 03:41:01

问题


Recent policy changes with iTunes Connect mean that any application which gives "unrestricted" access to the internet (via UIWebView) must have a 17+ rating.

I have such a feature in my app, but it is a very non-critical feature. Rather than removing it all together, I wondered if there is a way to have an age protection around these features to avoid needing the 17+ rating.

For example: could I require Facebook login and check the user's age?

Has anybody had success with techniques like this?


回答1:


I've had to use UIWebView in an app before and the best way around it is to restrict it to what it can do. Do you need to give the users wide access to the web or just your site? I simply made a little 10 minute mobile port and mapped it so there was no external site access.

I doubt a Facebook login would satisfy Apple but unrestricted means giving the UIWebView full access to the web by putting in a URL bar or a search box to Google.



来源:https://stackoverflow.com/questions/23574590/restricting-age-protecting-a-uiwebview-to-avoid-17-user-rating

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!