Not able to remove the separator line. Tried setting background image and adding attributes, setting background colour but none of these are working.
After setting isTranslucent true, for colours other than white separator is not visible but in case of white it is visible.
init() {
UINavigationBar.appearance().isTranslucent = false
}
and I am using .navigationBarTitleDisplayMode(.inline)