I had the same problem with a custom view with a gesture on it placed in the title view, it looks like this is an error with xcode 9 or something has changed in the title for ios 11, which does everything inside the titleView, size 0, 0, I solved it by overriding the intrinsicContentSize property of my user view, in your case "remedyMenuView", for example,
override var intrinsicContentSize: CGSize {
return CGSize(width: 150, height: 36)
}
good luck.