 import CoreLocation
 import AddressBook
 import AVFoundation
+import Photos
 
 public enum PermissionType: String {
     case Contacts = "Contacts"

        }
    }

    func pollForNotificationChanges() {
        // yuck
        // the alternative is telling developers to call detectAndCallback() in their app delegate

        }
        
        button.addTarget(self, action: Selector("request\(type.rawValue)"), forControlEvents: UIControlEvents.TouchUpInside)
        
        return button
    }

