Plugin interrupted, invalidated errors for custom keyboard

The problem is in your code, i have faced with this too. Look at my old code let keyboardNib = UINib(nibName: “ChatCustomKeyboardView”, bundle: nil) customKeyboardView = keyboardNib.instantiateWithOwner(self, options: nil)[0] as! UIView view.addSubview(customKeyboardView) Then i changed it to this let nib = UINib(nibName: “ChatCustomKeyboardView”, bundle: nil) let objects = nib.instantiateWithOwner(self, options: nil) view = objects[0] as! …

Read more