UITextInputMode.activeInputModes () падает в Swift 2

Я хочу получить UITextInputMode в Swift 2, ноUITextInputMode.activeInputModes() сбои.

    let x = UITextInputMode.activeInputModes() // crash here

    for t in x {
        print(t)
    }

Ответы на вопрос(2)

Ваш ответ на вопрос