标签: ios swift uiview autolayout ios-keyboard-extension
我如何设置约束
我如何添加此uiview
let nib = UINib(nibName: "keyboard", bundle: nil) keyboardView = nib.instantiateWithOwner(self, options: nil)[0] as! UIView self.inputView.addSubview(keyboardView)
在模拟器中的样子
有没有人有类似的问题?