 //  Copyright (c) 2014 Justin Makaila. All rights reserved.
 //
 
-import UIKit
 import CoreLocation
 import AddressBook
 import AssetsLibrary

                    println("Show the microphone system alert")
                    self.showMicrophoneSystemAlert(completion)
                })
        }
    }
}

        }
    }
    
    /*
        The completion handler will only be called if notifications are already enabled. application:didRegisterForRemoteNotificationsWithDeviceToken: and 
        application:didFailToRegisterForRemoteNotificationsWithError: should be used as completion for granting access.
     */
    public func showRemoteNotificationPermission(title: String? = "Allow Push Notifications?", message: String?, var denyButtonTitle: String?, var grantButtonTitle: String?, notificationTypes: UIUserNotificationType? = nil, completion: PermissionCompletionHandler?) {
        denyButtonTitle = self.title(denyButtonTitle, forTitleType: .Deny)
        grantButtonTitle = self.title(grantButtonTitle, forTitleType: .Request)
        
