On the iPhone X in the simulator, my container view is appearing below the tab bar (it is on the bottom of the screen).
I would like to move the container view so it is sitting on top of the tab bar, but no matter what I put in as the x and y of the container view frame, it won't change. I can only change the height.
Thanks.
Code:
//for custom interactive keyboard
override var inputAccessoryView: UIView? {
get {
return inputContainerView
}
}
lazy var inputContainerView: UIView = {
let containerView = UIView()
containerView.frame = CGRect(x: 50, y: 50, width: self.view.frame.width, height: 50)
containerView.backgroundColor = UIColor.red
return containerView
}()