Latest 1.0.4
License MIT
Platforms ios 8.0


Applications made for kids very often contain screens that are designed for adults, e.g. in app purchases, feedback forms, etc. Apple requires those screens to be protected by Parental Gate.

From AppStore review guidelines:

24.3 Apps in the Kids Category must get parental permission or use a parental gate before allowing the user to link out of the app or engage in commerce

HYParentalGate is created using Swift 4. It works on all the iPhones, iPods and iPads starting from iOS 8.0. Right now HYParentalGate only supports landscape device modes. Portrait mode support will be added soon.

HYParentalGate is localized into 2 languages:

  • English – default
  • Ukrainian

20 more languages are going to be added very soon.


HYParentalGate Example


import HYParentalGate {
// User proved that he or she is an adult.
// Code was entered correctly.
// Basically here you just navigate to the next screen

There is no failure block since we could not come up with the idea where it may be used :) If dialog was dismissed you just stay where you’ve been before.

Also here is an example of how to use localized version of the HYParentlGate:

import HYParentalGate

let parentalGate = HYParentalGate.sharedGate
parentalGate.languageCode = "uk" {
// Code was entered correctly. Handle this properly.


HYParentalGate is available under the MIT license. See the LICENSE file for more info.

Latest podspec

    "name": "HYParentalGate",
    "version": "1.0.4",
    "summary": "Parental Gate control",
    "description": "A simple Parental Gate control that might be used in the kids apps in order to protect adult's content, e.g. in app purchases.",
    "homepage": "",
    "screenshots": "",
    "license": "MIT",
    "authors": {
        "Roman Nazarkevych": "[email protected]"
    "social_media_url": "",
    "platforms": {
        "ios": "8.0"
    "source": {
        "git": "",
        "tag": "1.0.4"
    "source_files": [
    "resources": "HYParentalGate/*.{xcassets,xib,plist}",
    "pushed_with_swift_version": "3.0"

Pin It on Pinterest

Share This