                     setButtonUnauthorizedStyle(button)
                     button.setTitle("Denied \(type.rawValue)".uppercaseString, forState: UIControlState.Normal)
                 }
+            case .Photos:
+                if statusPhotos() == .Authorized {
+                    setButtonAuthorizedStyle(button)
+                    button.setTitle("Allowed \(type.rawValue)".uppercaseString, forState: UIControlState.Normal)
+                } else if statusPhotos() == .Unauthorized {
+                    setButtonUnauthorizedStyle(button)
+                    button.setTitle("Denied \(type.rawValue)".uppercaseString, forState: UIControlState.Normal)
+                }
             }
 
             let label = permissionLabels[index]

    case Notifications = "Notifications"
    case Microphone = "Microphone"
    case Camera = "Camera"
}

public enum PermissionStatus: String {

import CoreLocation
import AddressBook
import AVFoundation
import Photos

public enum PermissionType: String {
    case Contacts = "Contacts"
