             }
         }
 
-        alertController.displayAnimated(animated: true, completion: alertCompletion)
-
-        alertController.view.tintColor = tintColor
+        alertController.displayAnimated(animated: true, tintColor: tintColor, completion: alertCompletion)
         
         return alertController
     }

            }
        }

        if self.view.tintColor == nil {
            self.view.tintColor = viewController?.view.tintColor
        }

        viewController?.presentViewController(self, animated: animated, completion: completion)
    }
}


import ObjectiveC

extension UIAlertController {
    private func displayAnimated(animated animated: Bool, tintColor: UIColor?, completion: (() -> Void)?) {
        let displayWindow = UIApplication.sharedApplication().keyWindow

        if UIDevice.currentDevice().userInterfaceIdiom == .Pad && self.preferredStyle == .ActionSheet {
