Erreur indiquant un UIAlertView en swift

Im essayant de montrer un UIAlertView dans ma swift Application

    alert = UIAlertView(title: "",
        message: "bla",
        delegate: self,
        cancelButtonTitle: "OK")
    alert!.show()

=> BAD_ACESS erreur:
-[_UIAlertViewAlertControllerShim initWithTitle:message:délégué:cancelButtonTitle:otherButtonTitles:] ()

j'ai donc soupçonné de soi. Je l'ai mis à néant

    alert = UIAlertView(title: "",
        message: "bla",
        delegate: nil,
        cancelButtonTitle: "OK")
    alert!.show()

=> ARM_DA_ALIGN erreur:
-[_UIAlertViewAlertControllerShim initWithTitle:message:délégué:cancelButtonTitle:otherButtonTitles:] ()


le code complet

import UIKit

@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate, UIAlertViewDelegate {

    @lazy var window = UIWindow(frame: UIScreen.mainScreen().bounds)
    @lazy var locationManager = CLLocationManager()
    var alert: UIAlertView? = nil

    func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: NSDictionary?) -> Bool {
        //setup dummy window
        self.window.backgroundColor = UIColor.whiteColor()
        self.window.rootViewController = UIViewController()
        self.window.makeKeyAndVisible()

        alert = UIAlertView(title: "",
            message: "bla",
            delegate: nil,
            cancelButtonTitle: "OK")
        alert!.show()

    return true
    }
}

Comment le faire? 🙂

double possible de Comment aurais-je créer un UIAlertView dans Swift?
il ne va _UIAlertViewAlertControllerShim donc je pense que c'est un bug, je veux dire. la dépréciation n'est pas: n'est plus disponible 🙂
il n'est certes pas: en.wikipedia.org/wiki/Deprecation
Je ne veux pas des trucs si(ios8) UIAlertViewController d'autre UIAlertView 🙂
double possible de UIAlertView en Rapide, obtenir EXC_BAD_ACCESS

OriginalL'auteur Daij-Djan | 2014-06-04