Under the Children's Online Privacy Protection Act (COPPA), there is a parameter called tagForChildDirectedTreatment
.
Here is a link that describes the use of the method.
Basically this is what you can do:
- Set
tagForChildDirectedTreatment
to YES
to indicate that you want your content to be considered child for COPPA purposes. - Set
tagForChildDirectedTreatment
to NO
to indicate that you do not want your content to be considered child-friendly for COPPA purposes. - Do not set
tagForChildDirectedTreatment
unless you want to specify how you want your content to be processed in relation to COPPA.
You should also follow the recommendations in the App Store. Here, the quote is important for your situation:
Applications in the Children category may not include behavioral advertising (for example, an advertiser cannot display ads based on user activity), and any contextual ads should be appropriate for young audiences. You should also pay particular attention to privacy laws around the world regarding the collection of data from children on the Internet. Be sure to review the privacy section of these guidelines for more information.
For a quick inspiration on this, check out this Apple guide form. https://developer.apple.com/app-store/parental-gates/
What you can do: Set tagForChildDirectedTreatment to YES. Do not track user data for children. Be careful what types of ads you display.
If you want your application to be in a child category, you cannot show the add-on that takes the child out of the application. But if you first ask for parental permission , you can do it. To do this, you either add or do not add banner / other ads, depending on the response from parental permission.
Edit: Perhaps this can work as a check before adding it opens a safari / application store:
func application(_ app: UIApplication, open url: URL, options: [UIApplicationOpenURLOptionsKey : Any] = [:]) -> Bool { //check the url that opens. //present parental control //return true or false /open or reject opening safari/app store }
source share