AlertViewLoveNotification

A simple and attractive AlertView to ask permission to your users for Push Notification.

PRESENTATION

Ask permission to user for push notification is really important. But the native alertview is so ugly and often means SPAM for user..
With AlertViewLoveNotification, asking permission for push notification becomes easy and beautiful.
So try it !

DEMO

INSTALLATION

CocoaPods

pod 'AlertViewLoveNotification'

Manually

Download and drop AlertViewLoveNotification.swift in your project.

Congratulations!

USAGE

//Simply call AlertViewLoveNotification...
var alertView = AlertViewLoveNotification(imageName: "iconNotification", labelTitle: "ENABLE PUSH NOTIFICATIONS", labelDescription: "Would you like to be alerted about us, at any moment, even when you're sleeping ? Because we miss you... Always.", buttonYESTitle: "Yes, Of course !", buttonNOTitle: "No, sorry.")
//... and show it !
alertView.show()
//And maybe, if you want, you can hide it.
alertView.hide()