Parental Gate For iOS Kids Apps

Parental Gate For iOS Kids Apps

Here’s a quick and easy way to add a parental gate alert to your iOS kids apps:
NAParentalGateAlert on github

How it works:

  • Prompts the user to answer a simple math question before proceeding.
  • Uses a UIAlertView for the prompt and a block for the action.
  • If the user answers correctly, your action is run.
  • If user presses cancel or answers incorrectly, the alert simply dismisses.

Example usage:
NAParentalGateAlert myAlert = [NAParentalGateAlert alertWithAction:^{ //push my gated view }];
[myAlert show];

Built for ARC, but it’s easy to use in a manual memory management project. Just go to your target > build phases > compiler flags and add the flag -fobjc-arc for this class.

There are a few localized languages included. Simply add your language folder and Localizable.strings file to the NAParentalGateAlert.bundle to support more languages.

MIT License so it’s pretty much free as in beer. Use this code however you like. Oh and I like Franziskaner Weissbier, Shiner Bock, and Hoegaarden 🙂

Screen Shot 2013-10-14 at 7.46.06 AM
Screen Shot 2013-10-14 at 7.50.20 AM

[Update]

JigglePic Pro has been approved for the App Store in the kids category using NAParentalGateAlert. JigglePic Free was rejected, but this was due to using ads that do NOT have a parental gate. Stay tuned for a blog post on using Ads within kids apps.

Leave a Reply

Your email address will not be published. Required fields are marked *