// 檢測 Shift 是否按下 (BOOL)isShiftPressed { return ([UIApplication sharedApplication].keyWindow.traitCollection.keyboardType == UIKeyboardTypeDefault); }