我想在Swift2中获取UITextInputMode,但UITextInputMode.activeInputModes()崩溃了。letx=UITextInputMode.activeInputModes()//crashherefortinx{print(t)} 最佳答案 我能够通过使用Objective-C桥解决这个错误。桥.h#ifndefBridge_h#defineBridge_h#import"Kludge.h"#endifKludge.h#ifndefKludge_h#defineKludge_h#import@i